From 79bd1dc7146307b3b8405b96ed69d3ee8c11e694 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 14 Mar 2018 20:25:56 +0000 Subject: Updated compile flags --- Jamroot.jam | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index 358855f..b8e5681 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,12 +7,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 libadhocutil ; -- cgit v1.2.3