Skip to content

Commit

Permalink
Merge pull request #6080 from fwyzard/disable_LTO_for_biglibs
Browse files Browse the repository at this point in the history
disable LTO for biglibs with gcc 4.9.x
  • Loading branch information
ktf committed Oct 29, 2014
2 parents 287772a + 10da126 commit f8f8298
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion BigProducts/Simulation/BuildFile.xml
Expand Up @@ -19,7 +19,10 @@
<use name="SimDataFormats/ValidationFormats"/>
<use name="geant4static"/>
<flags DROP_DEP="geant4core"/>
# Hack needed to avoid undefined variable in CLHEP.
<architecture name="slc6_amd64_gcc49">
# hack needed to avoid undefined variable in CLHEP.
<flags REM_CXXFLAGS="-Werror=unused-variable"/>
# disable LTO in BigLibs, as it seems to clash with debugging symbols with gcc 4.9.x
<flags REM_BIGOBJ_CXXFLAGS="-flto"/>
<flags BIGOBJ_CXXFLAGS="-fno-lto"/>
</architecture>

0 comments on commit f8f8298

Please sign in to comment.