summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-01 14:09:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-01 14:09:02 +0100
commit04ca3989c3d74e39152a9e9b3cdfdfa931053f02 (patch)
treee06f341b4a2b87725e3d5349bbd2e7cc97b23e6f /Jamroot.jam
parentFix up SQL parsing in the presense of empty single-line comments (diff)
downloadlibdbpp-04ca3989c3d74e39152a9e9b3cdfdfa931053f02.tar.bz2
libdbpp-04ca3989c3d74e39152a9e9b3cdfdfa931053f02.tar.xz
libdbpp-04ca3989c3d74e39152a9e9b3cdfdfa931053f02.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 2031151..39e72d9 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -6,12 +6,13 @@ variant coverage : debug ;
project
: requirements
- <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <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=2"
+ <variant>release:<linkflags>"-flto=2"
+ <variant>debug:<cxxflags>"-W -Wall -Werror -Wextra"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
;
build-project libdbpp ;