mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 12:58:06 +00:00
Merge branch 'sparc-unreferenced' into '17'
Drop two unreferenced debian/patches See merge request pkg-llvm-team/llvm-toolchain!127
This commit is contained in:
commit
4bad159356
3762
debian/patches/sparc/sparc-D98574-clang-def.patch
vendored
3762
debian/patches/sparc/sparc-D98574-clang-def.patch
vendored
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
|||||||
--- llvm-toolchain-12-12.0.1~+rc1.orig/compiler-rt/cmake/base-config-ix.cmake
|
|
||||||
+++ llvm-toolchain-12-12.0.1~+rc1/compiler-rt/cmake/base-config-ix.cmake
|
|
||||||
@@ -189,8 +189,12 @@ macro(test_targets)
|
|
||||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "s390x")
|
|
||||||
test_target_arch(s390x "" "")
|
|
||||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "sparc")
|
|
||||||
- test_target_arch(sparc "" "-m32")
|
|
||||||
- test_target_arch(sparcv9 "" "-m64")
|
|
||||||
+ if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
||||||
+ test_target_arch(sparc "" "-mcpu=v9" "-m32")
|
|
||||||
+ append("-latomic" CMAKE_LD_FLAGS)
|
|
||||||
+ else()
|
|
||||||
+ test_target_arch(sparcv9 "" "-m64")
|
|
||||||
+ endif()
|
|
||||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "mipsel|mips64el")
|
|
||||||
# Gcc doesn't accept -m32/-m64 so we do the next best thing and use
|
|
||||||
# -mips32r2/-mips64r2. We don't use -mips1/-mips3 because we want to match
|
|
Loading…
Reference in New Issue
Block a user