summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Roeder <tmroeder@google.com>2014-01-10 22:48:35 +0000
committerTom Roeder <tmroeder@google.com>2014-01-10 22:48:35 +0000
commitb2c6a6c0bd2aede046eceb4594132dabfed86aac (patch)
tree947d4f4dd6ba4d16b55a663e60e86950a1f888b7 /tools
parent28cd4b91a542852c17f8d69c5f2d6e4156c1a8d4 (diff)
downloadllvm-b2c6a6c0bd2aede046eceb4594132dabfed86aac.tar.gz
llvm-b2c6a6c0bd2aede046eceb4594132dabfed86aac.tar.bz2
llvm-b2c6a6c0bd2aede046eceb4594132dabfed86aac.tar.xz
Restore the library dependency of LLVMgold on LTO; this was removed recently but
is needed for LLVMgold to load in ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gold/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt
index e0a3359018..98e26421e0 100644
--- a/tools/gold/CMakeLists.txt
+++ b/tools/gold/CMakeLists.txt
@@ -20,3 +20,5 @@ else()
gold-plugin.cpp
)
endif()
+
+target_link_libraries(LLVMgold LTO)