From: Daniel Dunbar Date: Fri, 24 Oct 2008 06:24:13 +0000 (+0000) Subject: Use LINK_COMPONENTS instead of hard coding LLVM libraries. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c308cc40a587f515c10b0af34f0bd160bb5c04d;p=clang 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 --- 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