Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable LTO for biglibs with gcc 4.9.x #6080

Merged
merged 1 commit into from Oct 29, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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>