mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 14:47:14 +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
|
||||
|
||||
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
|
||||
# See https://bugs.llvm.org/show_bug.cgi?id=52022
|
||||
LIBCXX_USE_COMPILER_RT := OFF
|
||||
|
Loading…
Reference in New Issue
Block a user