diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-17 18:33:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-17 18:33:53 +0000 |
commit | e8d190c82c412828906af82fae5dcb611cf9b5f2 (patch) | |
tree | cf5dcecb9f697b46ee2b2b5551c2f84184befbeb /Jamroot.jam | |
parent | Bump Ice v3.7.2 (diff) | |
download | slicer-e8d190c82c412828906af82fae5dcb611cf9b5f2.tar.bz2 slicer-e8d190c82c412828906af82fae5dcb611cf9b5f2.tar.xz slicer-e8d190c82c412828906af82fae5dcb611cf9b5f2.zip |
Parallel lto only with gcc
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 04e56ae..19e8df2 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,8 +10,10 @@ project <define>ICE_CPP11_MAPPING <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>release:<cxxflags>"-flto=2" - <variant>release:<linkflags>"-flto=2" + <variant>release:<cxxflags>"-flto" + <toolset>gcc:<variant>release:<cxxflags>"-flto=2" + <variant>release:<linkflags>"-flto" + <toolset>gcc:<variant>release:<linkflags>"-flto=2" <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra" <variant>coverage:<cxxflags>"--coverage" <variant>coverage:<linkflags>"--coverage" |