summaryrefslogtreecommitdiffstats
path: root/tools/llvm-readobj
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-17 15:29:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-17 15:29:46 +0000
commit5cd6db9a514ccb37df20455e543c88df5594eec0 (patch)
treeb0463d1922b6b3808f33861b2ac0567cc9f357a0 /tools/llvm-readobj
parentb6a633ca94dbdc9904733e6462b5e214a240a284 (diff)
downloadexternal_llvm-5cd6db9a514ccb37df20455e543c88df5594eec0.zip
external_llvm-5cd6db9a514ccb37df20455e543c88df5594eec0.tar.gz
external_llvm-5cd6db9a514ccb37df20455e543c88df5594eec0.tar.bz2
Don't link with the archive library programs that don't use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj')
-rw-r--r--tools/llvm-readobj/CMakeLists.txt1
-rw-r--r--tools/llvm-readobj/LLVMBuild.txt2
-rw-r--r--tools/llvm-readobj/Makefile2
3 files changed, 2 insertions, 3 deletions
diff --git a/tools/llvm-readobj/CMakeLists.txt b/tools/llvm-readobj/CMakeLists.txt
index 3d20def..90997a8 100644
--- a/tools/llvm-readobj/CMakeLists.txt
+++ b/tools/llvm-readobj/CMakeLists.txt
@@ -1,6 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
- archive
bitreader
object)
diff --git a/tools/llvm-readobj/LLVMBuild.txt b/tools/llvm-readobj/LLVMBuild.txt
index 813c12b..e75f195 100644
--- a/tools/llvm-readobj/LLVMBuild.txt
+++ b/tools/llvm-readobj/LLVMBuild.txt
@@ -19,4 +19,4 @@
type = Tool
name = llvm-readobj
parent = Tools
-required_libraries = all-targets Archive BitReader Object
+required_libraries = all-targets BitReader Object
diff --git a/tools/llvm-readobj/Makefile b/tools/llvm-readobj/Makefile
index 1bb7295..958bd0c 100644
--- a/tools/llvm-readobj/Makefile
+++ b/tools/llvm-readobj/Makefile
@@ -9,7 +9,7 @@
LEVEL := ../..
TOOLNAME := llvm-readobj
-LINK_COMPONENTS := archive bitreader object all-targets
+LINK_COMPONENTS := bitreader object all-targets
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS := 1