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:
parent
77158a4b99
commit
e4467e46a5
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue