summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc6_tests_simd.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-27 17:50:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-27 17:50:42 +0300
commitf4688f24a52adb6f778cfb2eebf8904d8d3b297f (patch)
treeda384d67bd48b26423ebb0be0e114d687a17f4a4 /tools/ci/jobs/gcc6_tests_simd.sh
parent8b3f58c49f7f82e559911226530873068f13db16 (diff)
downloadmv-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.gz
mv-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.bz2
mv-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.xz
mv-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.zip
Add debug flags into ci scripts.
Diffstat (limited to 'tools/ci/jobs/gcc6_tests_simd.sh')
-rwxr-xr-xtools/ci/jobs/gcc6_tests_simd.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ci/jobs/gcc6_tests_simd.sh b/tools/ci/jobs/gcc6_tests_simd.sh
index 77b639e61..04f7d007e 100755
--- a/tools/ci/jobs/gcc6_tests_simd.sh
+++ b/tools/ci/jobs/gcc6_tests_simd.sh
@@ -16,7 +16,7 @@ source ./tools/ci/scripts/init.sh
# remove -flto -fwhole-program because gcc bug with lto + target attribute
-export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -Wstrict-aliasing=2 \
+export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O5 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-ffast-math -funswitch-loops \
-funsafe-loop-optimizations \
@@ -26,6 +26,8 @@ export CXXFLAGS="-pedantic -ggdb3 -O5 -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