aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-12 16:48:49 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-12 16:48:49 +0000
commit798403babdac3bb7e5ad64bc334cc75e697158be (patch)
treebc966f44a12fdad159291b180a67acaa0968dbb7 /tools
parentba9934648f1b8f5b1749548963f385f1147c1f68 (diff)
Update link components for llvm-dis and LTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-dis/CMakeLists.txt2
-rw-r--r--tools/lto/CMakeLists.txt4
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/llvm-dis/CMakeLists.txt b/tools/llvm-dis/CMakeLists.txt
index d62a6b5ec8..3125f8a5c6 100644
--- a/tools/llvm-dis/CMakeLists.txt
+++ b/tools/llvm-dis/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(LLVM_LINK_COMPONENTS bitreader)
+set(LLVM_LINK_COMPONENTS bitreader analysis)
set(LLVM_REQUIRES_EH 1)
add_llvm_tool(llvm-dis
diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt
index a316ef788e..b0aebd4f2e 100644
--- a/tools/lto/CMakeLists.txt
+++ b/tools/lto/CMakeLists.txt
@@ -1,4 +1,6 @@
-set(LLVM_LINK_COMPONENTS ipo scalaropts linker bitreader bitwriter)
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ ipo scalaropts linker bitreader bitwriter)
add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )