summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gccsnapshot_sanitize_tests.sh')
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sanitize_tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
index a3ac1a365..7568d455e 100755
--- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
@@ -15,7 +15,7 @@ export PATH=/usr/lib/gcc-snapshot/bin:$PATH
source ./tools/ci/scripts/init.sh
-export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
+export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-fno-omit-frame-pointer \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-fsanitize=address -fsanitize=undefined \
@@ -30,6 +30,8 @@ export CXXFLAGS="-pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
source ./tools/ci/flags/gcc6.sh
+export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
+
do_init
run_configure --enable-unittests=yes $*
export SDL_VIDEODRIVER=dummy