summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-15 21:49:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 12:43:10 +0000
commit4e2c99baa34c8da4c001e97481b7db651a484c70 (patch)
tree509f3585b2a65221d5c432515bbb0b099c90f445
parentBump postgresql submodule (diff)
downloadlibdbpp-4e2c99baa34c8da4c001e97481b7db651a484c70.tar.bz2
libdbpp-4e2c99baa34c8da4c001e97481b7db651a484c70.tar.xz
libdbpp-4e2c99baa34c8da4c001e97481b7db651a484c70.zip
Parallel lto only with gcc
-rw-r--r--Jamroot.jam6
1 files changed, 4 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 39e72d9..c480c8a 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -8,8 +8,10 @@ project
: requirements
<cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-flto=2"
- <variant>release:<linkflags>"-flto=2"
+ <variant>release:<cxxflags>"-flto"
+ <toolset>gcc:<variant>release:<cxxflags>"-flto=2"
+ <variant>release:<linkflags>"-flto"
+ <toolset>gcc:<variant>release:<linkflags>"-flto=2"
<variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
<variant>coverage:<cxxflags>"--coverage"
<variant>coverage:<linkflags>"--coverage"