mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 16:41:43 +00:00
Use LINK_COMPONENTS instead of hard coding LLVM libraries.
llvm-svn: 58076
This commit is contained in:
parent
730d5dade6
commit
d3963f7f25
@ -8,12 +8,9 @@ CXXFLAGS = -fno-rtti
|
||||
# early so we can set up LINK_COMPONENTS before including Makefile.rules
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
LINK_COMPONENTS := $(TARGETS_TO_BUILD)
|
||||
LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag
|
||||
USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
|
||||
clangDriver.a clangAST.a clangParse.a clangLex.a \
|
||||
clangBasic.a LLVMCore.a LLVMSupport.a LLVMSystem.a \
|
||||
LLVMBitWriter.a LLVMBitReader.a LLVMSelectionDAG.a \
|
||||
LLVMCodeGen.a LLVMTransformUtils.a LLVMScalarOpts.a \
|
||||
LLVMAnalysis.a LLVMTarget.a LLVMipo.a
|
||||
clangBasic.a
|
||||
|
||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||
|
Loading…
x
Reference in New Issue
Block a user