diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-11-12 16:53:31 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-11-12 16:53:31 +0000 |
commit | 6a30f5391ed5eb50972ce39bde02fd223d233b57 (patch) | |
tree | 9f569d8e898092db0ea515ab29fc326fd5e011d4 /Jamroot.jam | |
parent | Don't assume packages and categories are present (diff) | |
download | gentoobrowse-6a30f5391ed5eb50972ce39bde02fd223d233b57.tar.bz2 gentoobrowse-6a30f5391ed5eb50972ce39bde02fd223d233b57.tar.xz gentoobrowse-6a30f5391ed5eb50972ce39bde02fd223d233b57.zip |
Modernize buildgentoobrowse-2.1.4
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 025bfd5..4df6475 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,13 +10,14 @@ variant coverage : debug ; project : requirements <define>ICE_CPP11_MAPPING - <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" + <cxxstd>17 + <visibility>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" + <variant>debug:<warnings>extra + <variant>debug:<warnings-as-errors>on + <variant>coverage:<coverage>on ; build-project gentoobrowse ; |