summaryrefslogtreecommitdiff
path: root/libodbcpp
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
commit1b7ab1e914721557482e81bf527011da5a3b9097 (patch)
tree8e445bd415a81a2be3ba0e76b1e4d4d9562d634a /libodbcpp
parentAdd override/explicit tags (diff)
downloadlibdbpp-odbc-1b7ab1e914721557482e81bf527011da5a3b9097.tar.bz2
libdbpp-odbc-1b7ab1e914721557482e81bf527011da5a3b9097.tar.xz
libdbpp-odbc-1b7ab1e914721557482e81bf527011da5a3b9097.zip
Modern jam lto
Diffstat (limited to 'libodbcpp')
-rw-r--r--libodbcpp/Jamfile.jam3
1 files changed, 1 insertions, 2 deletions
diff --git a/libodbcpp/Jamfile.jam b/libodbcpp/Jamfile.jam
index 24fcf28..f6078df 100644
--- a/libodbcpp/Jamfile.jam
+++ b/libodbcpp/Jamfile.jam
@@ -14,8 +14,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