]> granicus.if.org Git - clang/commitdiff
Use LINK_COMPONENTS instead of hard coding LLVM libraries.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 24 Oct 2008 06:24:13 +0000 (06:24 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 24 Oct 2008 06:24:13 +0000 (06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58076 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/Makefile

index e7c5ee814551af2e50312893268bef8e519e4a48..22d7ffbfb5965d1b469b85014ed91fd91fdc0b96 100644 (file)
@@ -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