From: Remi Gacogne Date: Wed, 18 Jan 2023 08:24:13 +0000 (+0100) Subject: Enable the highest supported level of FORTIFY_SOURCE in our CI tests X-Git-Tag: dnsdist-1.8.0-rc1~96^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12433%2Fhead;p=thirdparty%2Fpdns.git Enable the highest supported level of FORTIFY_SOURCE in our CI tests --- diff --git a/tasks.py b/tasks.py index 39ea6840ef..10380529ff 100644 --- a/tasks.py +++ b/tasks.py @@ -277,6 +277,7 @@ def ci_auth_configure(c): --with-libdecaf \ --prefix=/opt/pdns-auth \ --enable-ixfrdist \ + --enable-fortify-source=auto \ --enable-asan \ --enable-ubsan''', warn=True) if res.exited != 0: @@ -299,6 +300,7 @@ def ci_rec_configure(c): --with-lua=luajit \ --with-libcap \ --with-net-snmp \ + --enable-fortify-source=auto \ --enable-dns-over-tls ''' + sanitizers, warn=True) if res.exited != 0: c.run('cat config.log') @@ -374,6 +376,7 @@ def ci_dnsdist_configure(c, features): CXX='clang++-12' \ --enable-option-checking=fatal \ --enable-unit-tests \ + --enable-fortify-source=auto \ --prefix=/opt/dnsdist %s %s''' % (cflags, cxxflags, features_set, sanitizers), warn=True) if res.exited != 0: c.run('cat config.log')