diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-17 22:22:02 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-17 22:22:02 +0100 |
commit | cdcadd2d16710a14ba1427e88a048d75ee88a3cb (patch) | |
tree | 5ad79125f1b6d385e234840205e1ca4804adbf56 /Jamroot.jam | |
parent | Gracefully handle the case where a use flag has no description (diff) | |
download | gentoobrowse-2.1.tar.bz2 gentoobrowse-2.1.tar.xz gentoobrowse-2.1.zip |
C++17 and Ice 3.7gentoobrowse-2.1
Update everything to Ice 3.7 and C++17 in keeping with other libs/services
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 83087e4..36fe9c6 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,12 +7,14 @@ variant coverage : debug ; project : requirements - <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden" - <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <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" - <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 -Werror -Wextra" + <variant>coverage:<cxxflags>"--coverage" + <variant>coverage:<linkflags>"--coverage" ; build-project gentoobrowse ; |