mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-17 21:00:29 +00:00
Merge branch 'snapshot' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into snapshot
This commit is contained in:
commit
71f33d366c
39
debian/patches/revert-r373769.diff
vendored
39
debian/patches/revert-r373769.diff
vendored
@ -1,39 +0,0 @@
|
|||||||
Index: clang/tools/clang-shlib/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- a/clang/tools/clang-shlib/CMakeLists.txt (révision 373769)
|
|
||||||
+++ b/clang/tools/clang-shlib/CMakeLists.txt (révision 373768)
|
|
||||||
@@ -6,13 +6,7 @@
|
|
||||||
get_property(clang_libs GLOBAL PROPERTY CLANG_STATIC_LIBS)
|
|
||||||
|
|
||||||
foreach (lib ${clang_libs})
|
|
||||||
- if(XCODE)
|
|
||||||
- # Xcode doesn't support object libraries, so we have to trick it into
|
|
||||||
- # linking the static libraries instead.
|
|
||||||
- list(APPEND _DEPS "-force_load" ${lib})
|
|
||||||
- else()
|
|
||||||
- list(APPEND _OBJECTS $<TARGET_OBJECTS:obj.${lib}>)
|
|
||||||
- endif()
|
|
||||||
+ list(APPEND _OBJECTS $<TARGET_OBJECTS:obj.${lib}>)
|
|
||||||
list(APPEND _DEPS $<TARGET_PROPERTY:${lib},INTERFACE_LINK_LIBRARIES>)
|
|
||||||
list(APPEND _DEPS $<TARGET_PROPERTY:${lib},LINK_LIBRARIES>)
|
|
||||||
endforeach ()
|
|
||||||
Index: clang/cmake/modules/AddClang.cmake
|
|
||||||
===================================================================
|
|
||||||
--- a/clang/cmake/modules/AddClang.cmake (révision 373769)
|
|
||||||
+++ b/clang/cmake/modules/AddClang.cmake (révision 373768)
|
|
||||||
@@ -86,13 +86,9 @@
|
|
||||||
# llvm_add_library ignores BUILD_SHARED_LIBS if STATIC is explicitly set,
|
|
||||||
# so we need to handle it here.
|
|
||||||
if(BUILD_SHARED_LIBS)
|
|
||||||
- set(LIBTYPE SHARED)
|
|
||||||
+ set(LIBTYPE SHARED OBJECT)
|
|
||||||
else()
|
|
||||||
- set(LIBTYPE STATIC)
|
|
||||||
- endif()
|
|
||||||
- if(NOT XCODE)
|
|
||||||
- # The Xcode generator doesn't handle object libraries correctly.
|
|
||||||
- list(APPEND LIBTYPE OBJECT)
|
|
||||||
+ set(LIBTYPE STATIC OBJECT)
|
|
||||||
endif()
|
|
||||||
set_property(GLOBAL APPEND PROPERTY CLANG_STATIC_LIBS ${name})
|
|
||||||
endif()
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -134,5 +134,4 @@ workaround-bug-42994-use-linker.diff
|
|||||||
# bug 939472
|
# bug 939472
|
||||||
#try-to-unbreak-thinlto.diff
|
#try-to-unbreak-thinlto.diff
|
||||||
D67877.patch
|
D67877.patch
|
||||||
|
|
||||||
revert-r373786-libclang-cpp.diff
|
revert-r373786-libclang-cpp.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user