summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc5_sanitize.sh
diff options
context:
space:
mode:
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 $*