diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-27 16:29:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-27 16:29:59 +0300 |
commit | 51ec8befaa567430998c539d06a455e7a0dc136f (patch) | |
tree | 14d76118ed85443f7ce88938ae901523b4ea44ed /tools/ci/jobs/gccsnapshot.sh | |
parent | 1dd695a330fce83c6e163576114e47010e5cfc2d (diff) | |
download | manaplus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.gz manaplus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.bz2 manaplus-51ec8befaa567430998c539d06a455e7a0dc136f.tar.xz manaplus-51ec8befaa567430998c539d06a455e7a0dc136f.zip |
Add support for variables NEWCC and NEWCXX into all ci scripts.
Diffstat (limited to 'tools/ci/jobs/gccsnapshot.sh')
-rwxr-xr-x | tools/ci/jobs/gccsnapshot.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh index 207f963b2..26eb5e88e 100755 --- a/tools/ci/jobs/gccsnapshot.sh +++ b/tools/ci/jobs/gccsnapshot.sh @@ -3,6 +3,14 @@ export CC=gcc export CXX=g++ export LOGFILE=gcc-snapshot.log + +if [ "$NEWCC" != "" ]; then + export CC="$NEWCC" +fi +if [ "$NEWCXX" != "" ]; then + export CXX="$NEWCXX" +fi + export PATH=/usr/lib/gcc-snapshot/bin:$PATH source ./tools/ci/scripts/init.sh |