From f8bc7799183c32bf1bbd23900aa297753517d7cb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Oct 2019 12:53:57 +0100 Subject: Modernize build --- Jamroot.jam | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index f235af4..6886519 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,16 +8,18 @@ variant coverage : debug ; project : requirements - "-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 -Werror -Wextra" - coverage:"--coverage" - coverage:"--coverage" + debug:extra + debug:on + coverage:on ; build-project libmysqlpp ; pkg-config.import glibmm : : glibmm-2.4 ; +pkg-config.import mysqlclient ; -- cgit v1.2.3