From: Andreas Schneider Date: Tue, 20 Nov 2018 11:11:43 +0000 (+0100) Subject: autobuild: Add _FORTIFY_SOURCE=2 to the -O3 build X-Git-Tag: tdb-1.3.17~572 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9477eb3bd1faabe182710859201cbacb9f76763;p=thirdparty%2Fsamba.git autobuild: Add _FORTIFY_SOURCE=2 to the -O3 build Signed-off-by: Andreas Schneider Reviewed-by: Gary Lockyer --- diff --git a/script/autobuild.py b/script/autobuild.py index e025a2c1920..9bd48523dbd 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -195,7 +195,7 @@ tasks = { # test build with -O3 -- catches extra warnings and bugs, tests the ad_dc environments "samba-o3": [("random-sleep", "script/random-sleep.sh 60 600", "text/plain"), - ("configure", "ADDITIONAL_CFLAGS='-O3' ./configure.developer --with-selftest-prefix=./bin/ab --abi-check-disable" + samba_configure_params, "text/plain"), + ("configure", "ADDITIONAL_CFLAGS='-O3 -Wp,-D_FORTIFY_SOURCE=2' ./configure.developer --with-selftest-prefix=./bin/ab --abi-check-disable" + samba_configure_params, "text/plain"), ("make", "make -j", "text/plain"), ("test", "make quicktest FAIL_IMMEDIATELY=1 " "TESTS='${PY3_ONLY}"