From 8342faced46d2b909ef1a0739f3c3d327c01ba54 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 6 Dec 2015 00:33:52 +0000 Subject: Enable gc-sections in release --- Jamroot.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jamroot.jam b/Jamroot.jam index a0b4d73..b9e2212 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -9,7 +9,7 @@ variant coverage : debug ; project : requirements release:"-std=c++1y" - release:"-Wl,-z,defs,--warn-once" + release:"-Wl,-z,defs,--warn-once,--gc-sections" debug:"-W -Wall -Werror -Wwrite-strings -std=c++1y" debug:"-Wl,-z,defs,--warn-once" coverage:"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" -- cgit v1.2.3