diff options
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 ; |