1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory

refers to the "prefix" directory, i.e., one level above "bin".  LLVMGCCPATH
is used as the directory containing the llvm-gcc executable, so add a "/bin"
suffix to get from LLVMGCCDIR to LLVMGCCPATH.

llvm-svn: 66823
This commit is contained in:
Bob Wilson 2009-03-12 19:47:24 +00:00
parent 037f4dc1a4
commit 7c7573dc3f

View File

@ -197,7 +197,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
if ($ENV{'LLVMGCCDIR'}) {
$CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'};
$LLVMGCCPATH = $ENV{'LLVMGCCDIR'};
$LLVMGCCPATH = $ENV{'LLVMGCCDIR'} . '/bin';
}
else {
$LLVMGCCPATH = "";