summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/ci/jobs/gcc6.sh3
-rwxr-xr-xtools/ci/jobs/gcc6_sanitize.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh3
3 files changed, 6 insertions, 3 deletions
diff --git a/tools/ci/jobs/gcc6.sh b/tools/ci/jobs/gcc6.sh
index 46d3743ab..e467df30c 100755
--- a/tools/ci/jobs/gcc6.sh
+++ b/tools/ci/jobs/gcc6.sh
@@ -13,7 +13,8 @@ aptget_install gcc-6 g++-6 \
export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gcc6.sh
diff --git a/tools/ci/jobs/gcc6_sanitize.sh b/tools/ci/jobs/gcc6_sanitize.sh
index 966f6724f..69b3e6524 100755
--- a/tools/ci/jobs/gcc6_sanitize.sh
+++ b/tools/ci/jobs/gcc6_sanitize.sh
@@ -20,7 +20,8 @@ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow \
-fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool \
-fsanitize=enum -fsanitize=vptr -fsanitize=bounds-strict \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gcc6.sh
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 6c80af066..7530b1afe 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -14,7 +14,8 @@ aptget_install gcc-snapshot \
export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
--std=gnu++1z -Wformat=1"
+-std=gnu++1z -Wformat=1 \
+-Wno-attributes"
source ./tools/ci/flags/gccsnapshot.sh