Restore the library dependency of LLVMgold on LTO; this was removed recently but
authorTom Roeder <tmroeder@google.com>
Fri, 10 Jan 2014 22:48:35 +0000 (22:48 +0000)
committerTom Roeder <tmroeder@google.com>
Fri, 10 Jan 2014 22:48:35 +0000 (22:48 +0000)
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

index e0a3359018150f0d3de954bc4baeab37c5b24809..98e26421e01470177c7137d916d76f74f27746b3 100644 (file)
@@ -20,3 +20,5 @@ else()
     gold-plugin.cpp
     )
 endif()
+
+target_link_libraries(LLVMgold LTO)