From b2c6a6c0bd2aede046eceb4594132dabfed86aac Mon Sep 17 00:00:00 2001 From: Tom Roeder Date: Fri, 10 Jan 2014 22:48:35 +0000 Subject: 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 --- tools/gold/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gold') 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) -- cgit v1.2.3