Get LLVMGCCARCH right regardless of the llvm-gcc version being used.

llvm-svn: 31467
This commit is contained in:
Reid Spencer 2006-11-05 20:10:16 +00:00
parent 5e5a05e753
commit 4e94f8da33

View File

@ -174,7 +174,11 @@ LIBS := @LIBS@
LLVMGCCDIR := @LLVMGCCDIR@
# Determine the target for which LLVM should generate code.
ifeq (@LLVMGCC_MAJVERS@,3)
LLVMGCCARCH := @target@/3.4-llvm
else
LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
endif
# Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
LLVMGCC := @LLVMGCC@