diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt index e0a33590181..98e26421e01 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)