summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 1dd6e98..cce8c6e 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -14,8 +14,7 @@ project
<cxxstd>17
<visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-flto=3"
- <variant>release:<linkflags>"-flto=3"
+ <variant>release:<lto>on
<variant>debug<toolset>gcc:<cxxflags>-Wlogical-op
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on