summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-09 02:34:13 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-09 02:34:13 +0000
commit0e83a809a60f4c1a6acfab6b7c7d476981f928db (patch)
treee72ffe8a719e39cbb560673ca6f4f9748d2983f2
parent4643c01284bd56e90e98abceb360f7dde6696250 (diff)
downloadbcm5719-llvm-0e83a809a60f4c1a6acfab6b7c7d476981f928db.tar.gz
bcm5719-llvm-0e83a809a60f4c1a6acfab6b7c7d476981f928db.zip
Fix library dependency for llvm-lto after r262977
It is a transitive dependency, so static build are OK but not build with individual DSO for each LLVM library. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 262987
-rw-r--r--llvm/tools/llvm-lto/CMakeLists.txt1
-rw-r--r--llvm/tools/llvm-lto/LLVMBuild.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-lto/CMakeLists.txt b/llvm/tools/llvm-lto/CMakeLists.txt
index 29b3339e6ce..8a76b3b99f8 100644
--- a/llvm/tools/llvm-lto/CMakeLists.txt
+++ b/llvm/tools/llvm-lto/CMakeLists.txt
@@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
BitWriter
Core
+ IRReader
LTO
MC
Object
diff --git a/llvm/tools/llvm-lto/LLVMBuild.txt b/llvm/tools/llvm-lto/LLVMBuild.txt
index b36f4a98153..7a86797899d 100644
--- a/llvm/tools/llvm-lto/LLVMBuild.txt
+++ b/llvm/tools/llvm-lto/LLVMBuild.txt
@@ -19,4 +19,4 @@
type = Tool
name = llvm-lto
parent = Tools
-required_libraries = BitWriter Core LTO Object Support all-targets
+required_libraries = BitWriter Core IRReader LTO Object Support all-targets
OpenPOWER on IntegriCloud