From 3bda350913e6ef69e1090dbd08fd553b0e405ef0 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Wed, 25 Nov 2020 15:44:35 -0500 Subject: [PATCH] Bugfix: FTBFS on armel: missing -latomic (Closes: #975433) --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index c9043af..2e15493 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,10 @@ ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) DEB_EXTRA_CONFIGURE_FLAGS += --cross-prefix=${DEB_HOST_GNU_TYPE}- endif +ifneq (,$(filter $(DEB_HOST_ARCH), armel riscv64)) + export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed +endif + %: dh $@ -- 2.30.2