summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-04 00:20:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-04 00:20:17 +0100
commit4a249c88b65a073af6d70e0eda043f4e7ac65dc5 (patch)
tree0d2b93f953caf7da4ed73648a7c989f9848ef59d /Jamroot.jam
parentRefactor to allow read to only wait on overlapping writes (diff)
downloadnetfs-4a249c88b65a073af6d70e0eda043f4e7ac65dc5.tar.bz2
netfs-4a249c88b65a073af6d70e0eda043f4e7ac65dc5.tar.xz
netfs-4a249c88b65a073af6d70e0eda043f4e7ac65dc5.zip
Updated compile flags
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam13
1 files changed, 7 insertions, 6 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index f63c2dc..c008f28 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -7,12 +7,13 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto=3"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto=3"
- <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"
+ <cxxflags>"-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden"
+ <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
+ <variant>release:<cxxflags>"-flto=3"
+ <variant>release:<linkflags>"-flto=3"
+ <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
;
build-project netfs ;