mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
Correctly report version of GCC used.
llvm-svn: 35866
This commit is contained in:
parent
4e19c7b1db
commit
8d7aaa4843
@ -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`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user