summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc41.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gcc41.sh')
-rwxr-xr-xtools/ci/jobs/gcc41.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc41.sh b/tools/ci/jobs/gcc41.sh
new file mode 100755
index 000000000..545cd898c
--- /dev/null
+++ b/tools/ci/jobs/gcc41.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+export CC=gcc-4.1
+export CXX=g++-4.1
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
+export LOGFILE=gcc41.log
+
+source ./tools/ci/scripts/init.sh
+
+do_init
+run_configure $*
+run_make
+
+source ./tools/ci/scripts/exit.sh
+
+exit 0