llvm.org GIT mirror llvm / 7545422
Correctly report version of GCC used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35866 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 13 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
10491049 $gcc_version_long="";
10501050 if ($GCCPATH ne "") {
10511051 $gcc_version_long = `$GCCPATH/gcc --version`;
1052 } elsif ($ENV{"CC"}) {
1053 $gcc_version_long = `$ENV{"CC"} --version`;
10521054 } else {
10531055 $gcc_version_long = `gcc --version`;
10541056 }