diff --git a/tools/llvm-lto2/CMakeLists.txt b/tools/llvm-lto2/CMakeLists.txt index 732fad001f5..17888b26c5c 100644 --- a/tools/llvm-lto2/CMakeLists.txt +++ b/tools/llvm-lto2/CMakeLists.txt @@ -1,7 +1,9 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Core + Linker LTO + MC Object Support Target diff --git a/tools/llvm-lto2/LLVMBuild.txt b/tools/llvm-lto2/LLVMBuild.txt index 66c4c127e95..42b0b9e26cc 100644 --- a/tools/llvm-lto2/LLVMBuild.txt +++ b/tools/llvm-lto2/LLVMBuild.txt @@ -19,4 +19,4 @@ type = Tool name = llvm-lto2 parent = Tools -required_libraries = Core LTO Object Support all-targets +required_libraries = Core Linker LTO MC Object Support all-targets