diff options
author | Jim Ingham <jingham@apple.com> | 2023-01-20 15:40:55 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2023-01-20 15:41:59 -0800 |
commit | e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73 (patch) | |
tree | 0726b3409c8f64c28d89c310a046bb327a5849e9 /lldb | |
parent | c7af1d19f30025a5d400aeeb651eef5ee83eb83d (diff) | |
download | llvm-e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73.zip llvm-e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73.tar.gz llvm-e12a950d90f88aeddaa97d6e7c8fd0bfedc42f73.tar.bz2 |
Remove the LINK_COMPONENTS entry from lldb-instr CMakery
The presence of this entry causes the Xcode generator to produce
two references to libLLVMSupport.a, one at the end of the list, and
that causes the build to fail with a link error. The first version
was pulled in when processing the CLANG_LIBS entries in the
lldb/tools/lldb-instr/CMakeLists.txt.
I looked around and the only places where we use LINK_COMPONENTS and
CLANG_LIBS together are various lldb subdirectories that produce .a
files but don't actually link anything.
Anyway, this line doesn't seem to be needed for either the regular
Ninja or the Xcode generator, and removing it makes the xcode build
work again.
Differential Revision: https://reviews.llvm.org/D142241
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/tools/lldb-instr/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/tools/lldb-instr/CMakeLists.txt b/lldb/tools/lldb-instr/CMakeLists.txt index 8da453b..a1bbd7e 100644 --- a/lldb/tools/lldb-instr/CMakeLists.txt +++ b/lldb/tools/lldb-instr/CMakeLists.txt @@ -11,6 +11,4 @@ add_lldb_tool(lldb-instr clangSerialization clangTooling - LINK_COMPONENTS - Support ) |