summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-12 20:20:14 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-12 20:20:14 +0100
commit9c7362153945275bb8f592e59319fcde7dbcb703 (patch)
tree1d2d8f5b05c789b584c557a18cb1038bb273837d /Jamroot.jam
parentWhitespace only lines between package masks (diff)
downloadgentoobrowse-api-9c7362153945275bb8f592e59319fcde7dbcb703.tar.bz2
gentoobrowse-api-9c7362153945275bb8f592e59319fcde7dbcb703.tar.xz
gentoobrowse-api-9c7362153945275bb8f592e59319fcde7dbcb703.zip
C++17 and Ice 3.7
Updates all code to work with C++17 and Ice 3.7 and related updates in used libraries.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam14
1 files changed, 8 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 23e2bf7..d3bb409 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -7,12 +7,14 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -flto=2"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto=2"
- <variant>debug:<cxxflags>"-W -Wall -Wextra -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"
- <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage"
+ <define>ICE_CPP11_MAPPING
+ <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>debug:<cxxflags>"-W -Wall -Wextra -Werror -Wwrite-strings"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
;
build-project gentoobrowse-api ;