From a802c57549d0111292eec1b9c0df86377efcf491 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 17 Apr 2018 19:15:08 +0100 Subject: C++17 Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp. --- Jamroot.jam | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 61ca176..be6d230 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -6,12 +6,13 @@ variant coverage : debug ; project : requirements - release:"-std=c++1y -fvisibility=hidden" - release:"-Wl,-z,defs,--warn-once,--gc-sections" - debug:"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" - debug:"-Wl,-z,defs,--warn-once" - coverage:"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" - coverage:"-Wl,-z,defs,--warn-once --coverage" + "-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" + "-Wl,-z,defs,--warn-once,--gc-sections" + release:"-flto=2" + release:"-flto=2" + debug:"-W -Wall -Werror -Wextra" + coverage:"--coverage" + coverage:"--coverage" ; build-project libsqlitepp ; -- cgit v1.2.3