From a142ae43029475fc0f891ca44e23417f7dffc95c Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 1 Jun 2022 07:35:53 +0200 Subject: [PATCH] Disable compiler-rt built-ins on x32 --- debian/changelog | 7 +++++++ debian/rules | 3 +++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index e9c7df5d..d3cb65ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-14 (1:14.0.4-4) UNRELEASED; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Disable compiler-rt built-ins on x32 + + -- John Paul Adrian Glaubitz Wed, 01 Jun 2022 07:34:47 +0200 + llvm-toolchain-14 (1:14.0.4-3) unstable; urgency=medium * Fix GRPC installation path and files diff --git a/debian/rules b/debian/rules index e63e7545..fdfd4f66 100755 --- a/debian/rules +++ b/debian/rules @@ -202,6 +202,9 @@ endif ifneq (,$(filter $(DEB_HOST_ARCH),x32)) STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=x86_64-linux-gnux32 STAGE_ALL_CMAKE_EXTRA += -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnux32 + STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_BUILD_BUILTINS=OFF + COMPILER_RT_USE_BUILTINS_LIBRARY := OFF + LIBCXX_USE_COMPILER_RT := OFF endif ifneq (,$(filter $(DEB_HOST_ARCH),hurd-i386))