summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-06 00:33:52 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-06 00:33:52 +0000
commitd7abf133ec31f2f85002d6982f3097561d12a474 (patch)
tree090c8a8aa17f58a23edc206436d9aa22254b0e93
parentDon't rely on sequence values as insert order isn't predictable (diff)
downloadp2pvr-d7abf133ec31f2f85002d6982f3097561d12a474.tar.bz2
p2pvr-d7abf133ec31f2f85002d6982f3097561d12a474.tar.xz
p2pvr-d7abf133ec31f2f85002d6982f3097561d12a474.zip
Enable gc-sections in release
-rw-r--r--Jamroot.jam2
1 files changed, 1 insertions, 1 deletions
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
<variant>release:<cflags>"-std=c++1y"
- <variant>release:<linkflags>"-Wl,-z,defs,--warn-once"
+ <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
<variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y"
<variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
<variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage"