summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-05-09 12:32:14 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-05-09 12:32:14 +0100
commitfeb11e7f94efff247f7849889ae53b002626f9a2 (patch)
treeb4baaa17d28e9931d6fe956cc386d697d3a8dda5 /Jamroot.jam
parentPsycho-rebased branch libadhocutil-0.8 on top of master (diff)
downloadlibadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.tar.bz2
libadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.tar.xz
libadhocutil-feb11e7f94efff247f7849889ae53b002626f9a2.zip
LTO through boost build
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam5
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