From ab3933316f4eb3bfa744fa92ce81f333328fb69f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Jul 2017 04:23:37 +0300 Subject: Use for Fedora raw hide own gcc flags, because gcc most time outdated. --- tools/ci/jobs/gccsnapshot_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/ci/jobs/gccsnapshot_tests.sh') diff --git a/tools/ci/jobs/gccsnapshot_tests.sh b/tools/ci/jobs/gccsnapshot_tests.sh index 7105356c9..a97e65142 100755 --- a/tools/ci/jobs/gccsnapshot_tests.sh +++ b/tools/ci/jobs/gccsnapshot_tests.sh @@ -10,6 +10,10 @@ if [ "$NEWCXX" != "" ]; then export CXX="$NEWCXX" fi +if [ "$FLAGS" == "" ]; then + export FLAGS="gccsnapshot.sh" +fi + export LOGFILE=gcc-snapshot.log export PATH=/usr/lib/gcc-snapshot/bin:$PATH @@ -20,7 +24,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \ -std=gnu++1z -Wformat=1 \ -Wno-attributes" -source ./tools/ci/flags/gcc6.sh +source ./tools/ci/flags/${FLAGS} export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS" -- cgit v1.2.3-70-g09d2