mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 21:48:58 +00:00
add explicit s390x build options to debian/rules, set
LLVM_HOST_TRIPLE=s390x-linux-gnu and COMPILER_RT_DEFAULT_TARGET_ONLY=ON so that builtins are only built for the explicit host arch
This commit is contained in:
parent
2e88154bcc
commit
9a1ae924d4
2
debian/rules
vendored
2
debian/rules
vendored
@ -165,6 +165,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH),x32))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
|
ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
|
||||||
|
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=s390x-linux-gnu
|
||||||
|
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
|
||||||
LIBCXX_EXCEPTIONS := OFF
|
LIBCXX_EXCEPTIONS := OFF
|
||||||
# See https://bugs.llvm.org/show_bug.cgi?id=52022
|
# See https://bugs.llvm.org/show_bug.cgi?id=52022
|
||||||
LIBCXX_USE_COMPILER_RT := OFF
|
LIBCXX_USE_COMPILER_RT := OFF
|
||||||
|
Loading…
Reference in New Issue
Block a user