From 9a1ae924d45bf9e6ef3f07605324c95e1829a947 Mon Sep 17 00:00:00 2001 From: Erik Maciejewski Date: Fri, 22 Oct 2021 03:00:18 -0700 Subject: [PATCH] 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 --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 5710a1a4..fb767457 100755 --- a/debian/rules +++ b/debian/rules @@ -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