From 1668e46c23abfc57f6b6babfda71fffb33d0bca9 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sat, 25 Dec 2021 14:44:29 +0300 Subject: Revert "Travis CI: Change _FORTIFY_SOURCE level to 3rd one" This reverts commit 3c086a4529c1b8a4be4796179989f034ab02eba1. Reason: -D_FORTIFY_SOURCE=3 causes '_FORTIFY_SOURCE redefined' warning by gcc-9 (Linux). --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4c93da5..bb42803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -223,7 +223,7 @@ jobs: - CFLAGS_EXTRA="-O3 -march=native -std=c11 -D AO_BL_SIZE=4 -D DEFAULT_NTHREADS=32" - compiler: gcc env: - - CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=3 -std=c89" + - CFLAGS_EXTRA="-march=native -D _FORTIFY_SOURCE=2 -std=c89" - addons: apt: packages: @@ -265,7 +265,7 @@ jobs: - CONF_OPTIONS="--disable-atomic-intrinsics" - os: osx env: - - CFLAGS_EXTRA="-m32 -march=native -D _FORTIFY_SOURCE=3" + - CFLAGS_EXTRA="-m32 -march=native -D _FORTIFY_SOURCE=2" - CONF_OPTIONS="--enable-assertions" - compiler: gcc env: @@ -328,7 +328,7 @@ jobs: - ubuntu-toolchain-r-test compiler: gcc-9 env: - - CFLAGS_EXTRA="-mx32 -march=native -D _FORTIFY_SOURCE=3" + - CFLAGS_EXTRA="-mx32 -march=native -D _FORTIFY_SOURCE=2" - CONF_OPTIONS="--enable-assertions --enable-shared" - addons: apt: -- cgit v1.2.1