From e7eb024d9b73cb09a9a616a7ab967f08469e615b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 30 Dec 2020 12:46:43 +0000 Subject: Modern compile options --- Jamroot.jam | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index 0a42616..a7b1d53 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,13 +8,14 @@ variant coverage : debug ; project : requirements ICE_CPP11_MAPPING - "-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" + 17 + hidden "-Wl,-z,defs,--warn-once,--gc-sections" - release:"-flto=2" - release:"-flto=2" - debug:"-W -Wall -Wextra -Wlogical-op -Werror -Wwrite-strings" - coverage:"--coverage" - coverage:"--coverage" + release:on + debug:extra + debug:on + coverage:on + tidy:ICE_IGNORE_VERSION ; build-project gentoobrowse-api ; -- cgit v1.2.3