summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc6_sdl2_tests_gcov.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gcc6_sdl2_tests_gcov.sh')
-rwxr-xr-xtools/ci/jobs/gcc6_sdl2_tests_gcov.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/jobs/gcc6_sdl2_tests_gcov.sh b/tools/ci/jobs/gcc6_sdl2_tests_gcov.sh
index e121dc73a..0d5f02f91 100755
--- a/tools/ci/jobs/gcc6_sdl2_tests_gcov.sh
+++ b/tools/ci/jobs/gcc6_sdl2_tests_gcov.sh
@@ -14,13 +14,15 @@ export LOGFILE=gcc6.log
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 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++1z -Wformat=1 \
-Wno-attributes"
source ./tools/ci/flags/gcc6.sh
+export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
+
do_init
run_configure --enable-unittests=yes --with-sdl2 --with-gcov $*
export SDL_VIDEODRIVER=dummy