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 | 92ebd29aad5832563e0f007fe75446ba04720ba4 (patch) | |
tree | 776eea7c2a2fdb166e0d366b7b54c486715812e1 /Jamroot.jam | |
parent | Check for libpq thread safety, disable libcrypto init (fixes crashes with mul... (diff) | |
download | libdbpp-postgresql-92ebd29aad5832563e0f007fe75446ba04720ba4.tar.bz2 libdbpp-postgresql-92ebd29aad5832563e0f007fe75446ba04720ba4.tar.xz libdbpp-postgresql-92ebd29aad5832563e0f007fe75446ba04720ba4.zip |
Enable gc-sections in release
Diffstat (limited to 'Jamroot.jam')
-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" |