Skip to content

Commit

Permalink
Merge pull request #11233 from davidlt/remove-bigobj-lto-guards
Browse files Browse the repository at this point in the history
Disable LTO in BigProducts for any architecture
  • Loading branch information
davidlt committed Sep 13, 2015
2 parents 0ee8d71 + 122e7cc commit 58374d3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions BigProducts/Simulation/BuildFile.xml
Expand Up @@ -19,10 +19,8 @@
<use name="SimDataFormats/ValidationFormats"/>
<use name="geant4static"/>
<flags DROP_DEP="geant4core"/>
<architecture name="slc[6|7]_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>
<!-- 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"/>

0 comments on commit 58374d3

Please sign in to comment.