OSDN Git Service

Update link components for llvm-dis and LTO.
authorOscar Fuentes <ofv@wanadoo.es>
Sat, 12 Mar 2011 16:48:49 +0000 (16:48 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sat, 12 Mar 2011 16:48:49 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127545 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-dis/CMakeLists.txt
tools/lto/CMakeLists.txt

index d62a6b5..3125f8a 100644 (file)
@@ -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
index a316ef7..b0aebd4 100644 (file)
@@ -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}\" )