summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 23:52:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 23:52:26 +0000
commit64a7b25a83554090d4f8e53f14e294f9cdff562f (patch)
tree30503cdcee9ab45f536ee003e30fc4fab693665e
parentAdd explicit tag (diff)
downloadlibdbpp-64a7b25a83554090d4f8e53f14e294f9cdff562f.tar.bz2
libdbpp-64a7b25a83554090d4f8e53f14e294f9cdff562f.tar.xz
libdbpp-64a7b25a83554090d4f8e53f14e294f9cdff562f.zip
Modern jam lto
-rw-r--r--Jamroot.jam5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 755ccc8..2026f3c 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -11,10 +11,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