From d3757f1da56b212ca52f3f4dd33a5a6f9cb1a428 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 18 Jan 2023 09:24:13 +0100 Subject: [PATCH] Enable the highest supported level of FORTIFY_SOURCE in our CI tests --- tasks.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- 2.47.2