Skip to content

Commit

Permalink
[LTO] do not remove lto flags for LTO IBs
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 6, 2022
1 parent 4cd4c7b commit 37eff3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BigProducts/Simulation/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<use name="Validation/HGCalValidation"/>
<use name="geant4static"/>
<flags DROP_DEP="geant4core"/>
<!-- 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"/>
<ifrelease name="!_LTO_">
<!-- 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"/>
</ifrelease>

0 comments on commit 37eff3f

Please sign in to comment.