From bfbd8f81ed8f4214ddfaf7a72e3729aa370f911c Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 1 Jun 2022 07:33:09 +0200 Subject: [PATCH] Disable compiler-rt built-ins on x32 --- debian/changelog | 1 + debian/rules | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index e1d4201a..41ced405 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ llvm-toolchain-snapshot (1:15~++20220509105605+460fc79a080b-1~exp4) UNRELEASED; [ John Paul Adrian Glaubitz ] * Enable GRPC build dependency only on supported targets + * Disable compiler-rt built-ins on x32 [ Sylvestre Ledru ] * Add usr/lib/llvm-15/lib/libomptarget.devicertl.a to libomp-X-dev diff --git a/debian/rules b/debian/rules index c1383272..c8385df5 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))