summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-02-06 18:33:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-02-06 18:33:22 +0000
commit452d62e72d8d9f21015d66d17b9dd22dc40e25e9 (patch)
tree767c3a78c0b2cd7fee1180d0f2ea1bb36ee41165
parentDefault sitemap to XML (diff)
downloadgentoobrowse-452d62e72d8d9f21015d66d17b9dd22dc40e25e9.tar.bz2
gentoobrowse-452d62e72d8d9f21015d66d17b9dd22dc40e25e9.tar.xz
gentoobrowse-452d62e72d8d9f21015d66d17b9dd22dc40e25e9.zip
Modern lto options
-rw-r--r--Jamroot.jam3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 4df6475..2dd95ee 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -13,8 +13,7 @@ project
<cxxstd>17
<visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-flto=2"
- <variant>release:<linkflags>"-flto=2"
+ <variant>release:<lto>on
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>coverage:<coverage>on