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:
Erik Maciejewski 2021-10-22 03:00:18 -07:00
parent 2e88154bcc
commit 9a1ae924d4

2
debian/rules vendored
View File

@ -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