summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-10-25 18:11:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-12-16 20:38:41 +0000
commit10c017d691abb42ff3c4cd90bb26ec4885ba3c4b (patch)
treecc4eceeda28dc6a0115cffd53a505bb44005f923
parentFix order of execution with gcc-7.2 (diff)
downloadnetfs-10c017d691abb42ff3c4cd90bb26ec4885ba3c4b.tar.bz2
netfs-10c017d691abb42ff3c4cd90bb26ec4885ba3c4b.tar.xz
netfs-10c017d691abb42ff3c4cd90bb26ec4885ba3c4b.zip
Run lto in parallel
-rw-r--r--Jamroot.jam4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index a823411..f63c2dc 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -7,8 +7,8 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto"
+ <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto=3"
+ <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto=3"
<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"