diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-22 15:13:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-22 15:13:33 +0100 |
commit | ffd3c8e7dcf3bee3304d7c28d8102bf343b64c76 (patch) | |
tree | 78f3cc6ce79e1aad4da917865c4a2669aac90e93 /Jamroot.jam | |
parent | Mark potential fall-through (diff) | |
download | libdbpp-odbc-ffd3c8e7dcf3bee3304d7c28d8102bf343b64c76.tar.bz2 libdbpp-odbc-ffd3c8e7dcf3bee3304d7c28d8102bf343b64c76.tar.xz libdbpp-odbc-ffd3c8e7dcf3bee3304d7c28d8102bf343b64c76.zip |
C++17libdbpp-odbc-1.2.0
Updates code largely in-keeping with updates to be C++17 in line with
libadhocutil and libdbpp.
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 94e8583..701484a 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -6,8 +6,10 @@ variant coverage : debug ; project : requirements - <cxxflags>"-std=c++17 -fvisibility=hidden" + <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" |