mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 13:27:05 +00:00
Link LLDB with -latomic on powerpcspe (Closes: #872267)
This commit is contained in:
parent
6395fd3a3b
commit
aee6ae513e
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ llvm-toolchain-4.0 (1:4.0.1-2) unstable; urgency=medium
|
||||
|
||||
* Rebuild with gcc 7 to fix a relocation error (Closes: #866354)
|
||||
* ld.lld manpage wasn't installed
|
||||
* Link LLDB with -latomic on powerpcspe (Closes: #872267)
|
||||
|
||||
[ Katsuhiko Nishimra ]
|
||||
* Ensure /usr/bin/g++-$(GCC_VERSION) exists (Closes: #871591)
|
||||
|
5
debian/patches/lldb-link-atomic-cmake.patch
vendored
5
debian/patches/lldb-link-atomic-cmake.patch
vendored
@ -8,13 +8,14 @@ Last-Update: 2016-07-27
|
||||
|
||||
--- a/lldb/cmake/LLDBDependencies.cmake
|
||||
+++ b/lldb/cmake/LLDBDependencies.cmake
|
||||
@@ -185,6 +185,12 @@ if (LLVM_BUILD_STATIC)
|
||||
@@ -185,6 +185,13 @@ if (LLVM_BUILD_STATIC)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
+if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips" OR
|
||||
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mipsel" OR
|
||||
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64el")
|
||||
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64el" OR
|
||||
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "powerpcspe")
|
||||
+ list(APPEND LLDB_SYSTEM_LIBS atomic)
|
||||
+endif()
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user