projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe2c9c
)
Correctly report version of GCC used.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Tue, 10 Apr 2007 19:13:43 +0000
(19:13 +0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Tue, 10 Apr 2007 19:13:43 +0000
(19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35866
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/NewNightlyTest.pl
patch
|
blob
|
history
diff --git
a/utils/NewNightlyTest.pl
b/utils/NewNightlyTest.pl
index c04e66e01675449b8d3a0ecf2cd647df54111a7b..ea54335a06500f779679a342e5fec463c5e7df86 100755
(executable)
--- 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`;
}