summaryrefslogtreecommitdiff
path: root/tools/llvm2cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
commitaea932d27fa41bebaa8576b6002637e74054a7c4 (patch)
tree79307bf652e355249255cdae9ad82c5c2d997f5d /tools/llvm2cpp
parent54eae9e1ec35db90a6f33dd8053c533861771bb6 (diff)
downloadllvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.gz
llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.bz2
llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.xz
Use LINK_COMPONENTS to specify *components* to link against instead of
using USED_LIBS to specify *libraries* to link against. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp')
-rw-r--r--tools/llvm2cpp/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm2cpp/Makefile b/tools/llvm2cpp/Makefile
index cc3169c46f..88db590c9b 100644
--- a/tools/llvm2cpp/Makefile
+++ b/tools/llvm2cpp/Makefile
@@ -8,10 +8,9 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvm2cpp
-USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LINK_COMPONENTS = bcreader
REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
-CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))