summaryrefslogtreecommitdiff
path: root/Jamroot.jam
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
commit247324c2ddcce55f442e19d42fff2f7ce8a3cbf8 (patch)
tree43f1b155d9b82952d03921f79c1bf3d92a24c8d6 /Jamroot.jam
parentAllow SqlBase to be initialised with just a datasource name (diff)
downloadproject2-247324c2ddcce55f442e19d42fff2f7ce8a3cbf8.tar.bz2
project2-247324c2ddcce55f442e19d42fff2f7ce8a3cbf8.tar.xz
project2-247324c2ddcce55f442e19d42fff2f7ce8a3cbf8.zip
Enable gc-sections in release
Diffstat (limited to 'Jamroot.jam')
-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"