mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Remove the use of LLVMGCCARCH. Instead, query the compiler for the
location of libgcc.a; that will tell us the name of the directory to find the libraries that we're looking for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1dd2004c0
commit
1119d7d394
@ -34,11 +34,14 @@ endif
|
|||||||
.PRECIOUS: Output/%.llvm.bc
|
.PRECIOUS: Output/%.llvm.bc
|
||||||
.PRECIOUS: Output/%.llvm
|
.PRECIOUS: Output/%.llvm
|
||||||
|
|
||||||
|
# Find the location of the platform specific LLVM GCC libraries
|
||||||
|
LLVMGCCLIBDIR=$(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))
|
||||||
|
|
||||||
# LLVM Tool Definitions (LLVMGCC, LLVMGXX, LLVMAS are provided by Makefile.rules)
|
# LLVM Tool Definitions (LLVMGCC, LLVMGXX, LLVMAS are provided by Makefile.rules)
|
||||||
LLI = $(LLVMTOOLCURRENT)/lli
|
LLI = $(LLVMTOOLCURRENT)/lli
|
||||||
LLC = $(LLVMTOOLCURRENT)/llc
|
LLC = $(LLVMTOOLCURRENT)/llc
|
||||||
LGCCAS = $(LLVMTOOLCURRENT)/gccas
|
LGCCAS = $(LLVMTOOLCURRENT)/gccas
|
||||||
LGCCLD = $(LGCCLDPROG) -L$(LLVMGCCDIR)/lib/gcc/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib
|
LGCCLD = $(LGCCLDPROG) -L$(LLVMGCCLIBDIR) -L$(LLVMGCCDIR)/lib
|
||||||
LDIS = $(LLVMTOOLCURRENT)/llvm-dis
|
LDIS = $(LLVMTOOLCURRENT)/llvm-dis
|
||||||
LOPT = $(LLVMTOOLCURRENT)/opt
|
LOPT = $(LLVMTOOLCURRENT)/opt
|
||||||
LLINK = $(LLVMTOOLCURRENT)/llvm-link
|
LLINK = $(LLVMTOOLCURRENT)/llvm-link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user