summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gccsnapshot.sh')
-rwxr-xr-xtools/ci/jobs/gccsnapshot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh
index 26eb5e88e..b9b677fd8 100755
--- a/tools/ci/jobs/gccsnapshot.sh
+++ b/tools/ci/jobs/gccsnapshot.sh
@@ -15,13 +15,15 @@ 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 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++1z -Wformat=1 \
--Wno-attributes"
+-Wno-attributes -fno-omit-frame-pointer"
source ./tools/ci/flags/gccsnapshot.sh
+export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
+
do_init
run_configure --enable-werror $*
run_make