mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Correctly report version of GCC used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bfe2c9ccf8
commit
7545422f08
@ -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