summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 23:52:19 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 23:52:19 +0000
commitc0cb22d65e222f470903569e1b32e88b15110ec5 (patch)
tree42fcd796dd76a6cba76440fd55b97264fb46e9c7
parentFix/simply context buffer offset check (diff)
downloadlibdbpp-mysql-c0cb22d65e222f470903569e1b32e88b15110ec5.tar.bz2
libdbpp-mysql-c0cb22d65e222f470903569e1b32e88b15110ec5.tar.xz
libdbpp-mysql-c0cb22d65e222f470903569e1b32e88b15110ec5.zip
Modern jam lto
-rw-r--r--libmysqlpp/Jamfile.jam3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmysqlpp/Jamfile.jam b/libmysqlpp/Jamfile.jam
index 72966a6..6ddd57d 100644
--- a/libmysqlpp/Jamfile.jam
+++ b/libmysqlpp/Jamfile.jam
@@ -13,8 +13,7 @@ project
<cxxstd>17
<visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
- <variant>release:<cxxflags>"-flto=2"
- <variant>release:<linkflags>"-flto=2"
+ <variant>release:<lto>on
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
<variant>coverage:<coverage>on