mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:39:47 +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. llvm-svn: 10903
This commit is contained in:
parent
60044e6f18
commit
3db2f0725d
@ -34,11 +34,14 @@ endif
|
||||
.PRECIOUS: Output/%.llvm.bc
|
||||
.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)
|
||||
LLI = $(LLVMTOOLCURRENT)/lli
|
||||
LLC = $(LLVMTOOLCURRENT)/llc
|
||||
LGCCAS = $(LLVMTOOLCURRENT)/gccas
|
||||
LGCCLD = $(LGCCLDPROG) -L$(LLVMGCCDIR)/lib/gcc/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib
|
||||
LGCCLD = $(LGCCLDPROG) -L$(LLVMGCCLIBDIR) -L$(LLVMGCCDIR)/lib
|
||||
LDIS = $(LLVMTOOLCURRENT)/llvm-dis
|
||||
LOPT = $(LLVMTOOLCURRENT)/opt
|
||||
LLINK = $(LLVMTOOLCURRENT)/llvm-link
|
||||
|
Loading…
Reference in New Issue
Block a user