mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 12:05:07 +00:00
remove patch for lld force linking libatomic
This commit is contained in:
parent
fe702823c8
commit
145d0de851
32
debian/patches/lld-use-link-atomic-i386.diff
vendored
32
debian/patches/lld-use-link-atomic-i386.diff
vendored
@ -1,32 +0,0 @@
|
|||||||
Index: llvm-toolchain-snapshot_12~++20201021061106+4b7dafd9046/lld/tools/lld/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_12~++20201021061106+4b7dafd9046.orig/lld/tools/lld/CMakeLists.txt
|
|
||||||
+++ llvm-toolchain-snapshot_12~++20201021061106+4b7dafd9046/lld/tools/lld/CMakeLists.txt
|
|
||||||
@@ -1,10 +1,18 @@
|
|
||||||
+set(LLD_ATOMIC_LIB "")
|
|
||||||
+
|
|
||||||
set(LLVM_LINK_COMPONENTS
|
|
||||||
Support
|
|
||||||
)
|
|
||||||
|
|
||||||
+if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i386" OR
|
|
||||||
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i686" OR
|
|
||||||
+ CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64"
|
|
||||||
+ )
|
|
||||||
+ list(APPEND LLD_ATOMIC_LIB "atomic")
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
add_lld_tool(lld
|
|
||||||
lld.cpp
|
|
||||||
-
|
|
||||||
SUPPORT_PLUGINS
|
|
||||||
)
|
|
||||||
export_executable_symbols_for_plugins(lld)
|
|
||||||
@@ -18,6 +26,7 @@ target_link_libraries(lld
|
|
||||||
lldMachO2
|
|
||||||
lldMinGW
|
|
||||||
lldWasm
|
|
||||||
+ ${LLD_ATOMIC_LIB}
|
|
||||||
)
|
|
||||||
|
|
||||||
install(TARGETS lld
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -134,7 +134,6 @@ x86-fuzzer.patch
|
|||||||
python3-shebang.patch
|
python3-shebang.patch
|
||||||
print-lldb-path.patch
|
print-lldb-path.patch
|
||||||
libcxx-armhf-ftbfs.diff
|
libcxx-armhf-ftbfs.diff
|
||||||
lld-use-link-atomic-i386.diff
|
|
||||||
#bring-reporter-back.patch
|
#bring-reporter-back.patch
|
||||||
D99501-ignore-lto-auto.diff
|
D99501-ignore-lto-auto.diff
|
||||||
scan-build-py-fix-analyze-path.diff
|
scan-build-py-fix-analyze-path.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user