summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc47_c++11.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-27 16:29:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-27 16:29:59 +0300
commit51ec8befaa567430998c539d06a455e7a0dc136f (patch)
tree14d76118ed85443f7ce88938ae901523b4ea44ed /tools/ci/jobs/gcc47_c++11.sh
parent1dd695a330fce83c6e163576114e47010e5cfc2d (diff)
downloadplus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.gz
plus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.bz2
plus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.xz
plus-51ec8befaa567430998c539d06a455e7a0dc136f.zip
Add support for variables NEWCC and NEWCXX into all ci scripts.
Diffstat (limited to 'tools/ci/jobs/gcc47_c++11.sh')
-rwxr-xr-xtools/ci/jobs/gcc47_c++11.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc47_c++11.sh b/tools/ci/jobs/gcc47_c++11.sh
index 147863fd9..92e102466 100755
--- a/tools/ci/jobs/gcc47_c++11.sh
+++ b/tools/ci/jobs/gcc47_c++11.sh
@@ -2,6 +2,14 @@
export CC=gcc-4.7
export CXX=g++-4.7
+
+if [ "$NEWCC" != "" ]; then
+ export CC="$NEWCC"
+fi
+if [ "$NEWCXX" != "" ]; then
+ export CXX="$NEWCXX"
+fi
+
export LOGFILE=gcc47.log
source ./tools/ci/scripts/init.sh