aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-nm
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-nm
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-nm')
-rw-r--r--tools/llvm-nm/CMakeLists.txt2
-rw-r--r--tools/llvm-nm/LLVMBuild.txt2
-rw-r--r--tools/llvm-nm/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-nm/CMakeLists.txt b/tools/llvm-nm/CMakeLists.txt
index b6cd80b..b1672ff 100644
--- a/tools/llvm-nm/CMakeLists.txt
+++ b/tools/llvm-nm/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(LLVM_LINK_COMPONENTS archive bitreader object)
+set(LLVM_LINK_COMPONENTS bitreader object)
add_llvm_tool(llvm-nm
llvm-nm.cpp
diff --git a/tools/llvm-nm/LLVMBuild.txt b/tools/llvm-nm/LLVMBuild.txt
index 38ecbfd..3e64577 100644
--- a/tools/llvm-nm/LLVMBuild.txt
+++ b/tools/llvm-nm/LLVMBuild.txt
@@ -19,4 +19,4 @@
type = Tool
name = llvm-nm
parent = Tools
-required_libraries = Archive BitReader Object
+required_libraries = BitReader Object
diff --git a/tools/llvm-nm/Makefile b/tools/llvm-nm/Makefile
index d9cee98..b95e920 100644
--- a/tools/llvm-nm/Makefile
+++ b/tools/llvm-nm/Makefile
@@ -9,7 +9,7 @@
LEVEL := ../..
TOOLNAME := llvm-nm
-LINK_COMPONENTS := archive bitreader object
+LINK_COMPONENTS := bitreader object
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS := 1