Skip to content

Commit

Permalink
Restore the library dependency of LLVMgold on LTO; this was removed r…
Browse files Browse the repository at this point in the history
…ecently 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
  • Loading branch information
tmroeder committed Jan 10, 2014
1 parent 28cd4b9 commit b2c6a6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/gold/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ else()
gold-plugin.cpp
)
endif()

target_link_libraries(LLVMgold LTO)

0 comments on commit b2c6a6c

Please sign in to comment.