From c79c6f3b144dab37f88878e17d0c315645140bdf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 Feb 2018 18:37:02 +0000 Subject: Add some nice cxxflags --- Jamroot.jam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index a248b61..23e2bf7 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,9 +7,9 @@ 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" + release:"-std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -flto=2" + release:"-Wl,-z,defs,--warn-once,--gc-sections -flto=2" + debug:"-W -Wall -Wextra -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" -- cgit v1.2.3