summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gccsnapshot_sdl2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gccsnapshot_sdl2.sh')
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 7a46b6b81..f6c53998e 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -2,6 +2,14 @@
export CC=gcc
export CXX=g++
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
export LOGFILE=gcc-snapshot.log
export PATH=/usr/lib/gcc-snapshot/bin:$PATH