From 38be44b0dc0f54854a544be39a3d915601c28256 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 14 Jan 2022 10:15:41 +0100 Subject: [PATCH] Fix armel build On armel, DEB_HOST_ARCH_CPU is the generic arm actually, so we need to use DEB_HOST_ARCH to precisely filter archs. Fixes 43d03058ff79806ab0ac1227e74f154493f78638 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index dd8cdc9e..0eab5664 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_CPU),i386 armel mipsel powerpc powerpcspe riscv64)) +ifneq (,$(filter $(DEB_HOST_ARCH),i386 hurd-i386 kfreebsd-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