summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc5_sanitize.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/gcc5_sanitize.sh
parent8b3f58c49f7f82e559911226530873068f13db16 (diff)
downloadplus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.gz
plus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.bz2
plus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.xz
plus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.zip
Add debug flags into ci scripts.
Diffstat (limited to 'tools/ci/jobs/gcc5_sanitize.sh')
-rwxr-xr-xtools/ci/jobs/gcc5_sanitize.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci/jobs/gcc5_sanitize.sh b/tools/ci/jobs/gcc5_sanitize.sh
index 4d70578bb..bfbbf75ce 100755
--- a/tools/ci/jobs/gcc5_sanitize.sh
+++ b/tools/ci/jobs/gcc5_sanitize.sh
@@ -14,7 +14,7 @@ export LOGFILE=gcc5_sanitize.log
source ./tools/ci/scripts/init.sh
-export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
+export CXXFLAGS="$CXXFLAGS -ggdb3 -O2 -pipe -ffast-math \
-fsanitize=address -fsanitize=undefined \
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable \
-fsanitize=vla-bound -fsanitize=null -fsanitize=return \
@@ -55,7 +55,7 @@ export CXXFLAGS="-ggdb3 -O2 -pipe -ffast-math \
-Woverloaded-virtual -Warray-bounds -Wbool-compare -Wchar-subscripts \
-Wcomment -Wmissing-braces -Wnonnull -Wopenmp-simd -Wparentheses \
-Wreturn-type -Wsequence-point -Wswitch \
--Wno-attributes"
+-Wno-attributes $POST_CXXFLAGS"
do_init
run_configure --enable-werror $*