diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:33:52 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:33:52 +0000 |
commit | 82c65ab91e70017d032ea037fd12f90660506b23 (patch) | |
tree | 8c9a9b0eba242ae8b0d7019a1d1e898a370159d8 | |
parent | Add wrappers for fopen fprintf when using boost things (diff) | |
download | libadhocutil-82c65ab91e70017d032ea037fd12f90660506b23.tar.bz2 libadhocutil-82c65ab91e70017d032ea037fd12f90660506b23.tar.xz libadhocutil-82c65ab91e70017d032ea037fd12f90660506b23.zip |
Enable gc-sections in release
-rw-r--r-- | Jamroot.jam | 2 |
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" |