diff options
-rw-r--r-- | Jamroot.jam | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index d8ef7a6..bd70364 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -6,14 +6,14 @@ variant coverage : debug ; project : requirements <define>ICE_CPP11_MAPPING - <cxxflags>"-std=c++17" - <cxxflags>"-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 -Wextra -Werror -Wwrite-strings" - <variant>coverage:<cxxflags>"--coverage" - <variant>coverage:<linkflags>"--coverage" + <variant>debug:<warnings>extra + <variant>debug:<warnings-as-errors>on + <variant>coverage:<coverage>on ; lib adhocutil : : : : <include>/usr/include/adhocutil ; |