summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-10-26 13:01:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-10-26 13:01:15 +0100
commit34096204a9447c97d86afcaa2ad2e130f0bc558c (patch)
treeb4ab6cfb9b3ea08039c38030df8b5b67764d24d7
parentAdd install rules (diff)
downloadnetfs-gitfs-34096204a9447c97d86afcaa2ad2e130f0bc558c.tar.bz2
netfs-gitfs-34096204a9447c97d86afcaa2ad2e130f0bc558c.tar.xz
netfs-gitfs-34096204a9447c97d86afcaa2ad2e130f0bc558c.zip
Modernize build
-rw-r--r--Jamroot.jam10
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 ;