llvm18/lldb-cmake.patch
Aaron Puchert d908d9fcff - Update to version 18.1.8.
* Fix a regression from the 18.1.6 release, which could result in
    compiler crashes in the PPCMergeStringPool pass when compiling
    for PowerPC targets.
  * Fixes clang-format regressions (since 18.1.1) on breaking
    before a stream insertion operator (<<) when both operands are
    string literals.
  * Fixes a clang-format regression (since 17.0.6) on formatting
    goto labels in macro definitions.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=17
2024-06-30 18:04:58 +00:00

14 lines
504 B
Diff

Index: lldb-10.0.0rc1.src/source/Host/CMakeLists.txt
===================================================================
--- lldb-10.0.0rc1.src.orig/source/Host/CMakeLists.txt
+++ lldb-10.0.0rc1.src/source/Host/CMakeLists.txt
@@ -143,6 +143,8 @@ endif()
set(EXTRA_LIBS)
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
list(APPEND EXTRA_LIBS kvm)
+elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
+ list(APPEND EXTRA_LIBS dl pthread)
endif()
if (LLDB_ENABLE_LIBXML2)
list(APPEND EXTRA_LIBS LibXml2::LibXml2)