summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-30 18:47:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-30 18:47:26 +0000
commit91265bc8863ee4ab4935f4b867e047aa8962240e (patch)
tree8431b600a67d801ff806620484567ed32e3a1fe6
parentSimplify property reader (diff)
downloadnetfs-gitfs-91265bc8863ee4ab4935f4b867e047aa8962240e.tar.bz2
netfs-gitfs-91265bc8863ee4ab4935f4b867e047aa8962240e.tar.xz
netfs-gitfs-91265bc8863ee4ab4935f4b867e047aa8962240e.zip
Modern LTO optionsnetfs-gitfs-0.2.1
-rw-r--r--Jamroot.jam3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 190d4de..65a3db4 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -9,8 +9,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