diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-04-10 19:13:43 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-04-10 19:13:43 +0000 |
commit | 7545422f088f4d71ab26bf4c2f8971cdfcd35c2b (patch) | |
tree | 0b493e19ca773786aecc54f26f3dc8dd60a31c02 /utils/NewNightlyTest.pl | |
parent | bfe2c9ccf83a8289c6fd40698a53f9f668560984 (diff) |
Correctly report version of GCC used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index c04e66e016..ea54335a06 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -1050,6 +1050,8 @@ my ($gcc_version, $gcc_version_long) = ""; $gcc_version_long=""; if ($GCCPATH ne "") { $gcc_version_long = `$GCCPATH/gcc --version`; +} elsif ($ENV{"CC"}) { + $gcc_version_long = `$ENV{"CC"} --version`; } else { $gcc_version_long = `gcc --version`; } |