summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/clang40.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/clang40.sh')
-rwxr-xr-xtools/ci/jobs/clang40.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci/jobs/clang40.sh b/tools/ci/jobs/clang40.sh
index 679fefd30..bc6fc1bd5 100755
--- a/tools/ci/jobs/clang40.sh
+++ b/tools/ci/jobs/clang40.sh
@@ -2,6 +2,14 @@
export CC=clang-4.0
export CXX=clang++-4.0
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
export LOGFILE=clang40.log
source ./tools/ci/scripts/init.sh