mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Get LLVMGCCARCH right regardless of the llvm-gcc version being used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b28955c4c
commit
a6cb9a1c4d
@ -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@
|
||||
|
Loading…
x
Reference in New Issue
Block a user