aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-24 06:24:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-24 06:24:13 +0000
commit6c308cc40a587f515c10b0af34f0bd160bb5c04d (patch)
treef553bfe38029fdaa0438ee9b565a98f972b9ec97
parenta071eb053aeeedc1c8128fd309b3a779b6c3152a (diff)
Use LINK_COMPONENTS instead of hard coding LLVM libraries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58076 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Driver/Makefile b/Driver/Makefile
index e7c5ee8145..22d7ffbfb5 100644
--- a/Driver/Makefile
+++ b/Driver/Makefile
@@ -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