summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-07-24 20:21:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-07-24 20:45:15 +0100
commit366c6a773643b804324dfcb31eb84b15a9d4fa39 (patch)
treeee0cab4aff51c106e99d6f664354a5ba84693dd4 /Jamroot.jam
parentRename libraries cos I never liked the original naming, more in keeping with ... (diff)
downloadnetfs-366c6a773643b804324dfcb31eb84b15a9d4fa39.tar.bz2
netfs-366c6a773643b804324dfcb31eb84b15a9d4fa39.tar.xz
netfs-366c6a773643b804324dfcb31eb84b15a9d4fa39.zip
Re-enable -flto
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 864077e..a823411 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -7,8 +7,8 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
+ <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto"
+ <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto"
<variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden"
<variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
<variant>coverage:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden"