From 43d03058ff79806ab0ac1227e74f154493f78638 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 10 Jan 2022 21:37:19 +0100 Subject: [PATCH] Explicitly link against -latomic on all ports, not only the Linux ones --- debian/changelog | 6 ++++++ debian/rules | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3d7b14e2..d9362112 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-13 (1:13.0.1~+rc1-1~exp5) UNRELEASED; urgency=medium + + * Explicitly link against -latomic on all ports, not only the Linux ones. + + -- Samuel Thibault Mon, 10 Jan 2022 21:36:34 +0100 + llvm-toolchain-13 (1:13.0.1~+rc1-1~exp4) experimental; urgency=medium * Fix the cmake file with the mlir introducing diff --git a/debian/rules b/debian/rules index f4fa7e2a..c5fa0418 100755 --- a/debian/rules +++ b/debian/rules @@ -96,7 +96,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),sparc sparc64)) STAGE_1_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4 endif -ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mipsel powerpc powerpcspe riscv64)) +ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386 armel mipsel powerpc powerpcspe riscv64)) # For some reason, in the stage2 build, when clang is used to compile # itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion # everywhere and in all stages