diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-05-09 12:32:14 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-05-09 12:32:14 +0100 |
commit | feb11e7f94efff247f7849889ae53b002626f9a2 (patch) | |
tree | b4baaa17d28e9931d6fe956cc386d697d3a8dda5 /Jamroot.jam | |
parent | Psycho-rebased branch libadhocutil-0.8 on top of master (diff) | |
download | libadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.tar.bz2 libadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.tar.xz libadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.zip |
LTO through boost build
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 69b3aca..2a45f4a 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -14,10 +14,7 @@ project <cxxstd>17 <visibility>hidden <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>release:<cxxflags>"-flto" - <toolset>gcc:<variant>release:<cxxflags>"-flto=2" - <variant>release:<linkflags>"-flto" - <toolset>gcc:<variant>release:<linkflags>"-flto=2" + <variant>release:<lto>on <variant>debug:<warnings>extra <variant>debug:<warnings-as-errors>on <variant>coverage:<coverage>on |