From: Reinhard Tartler Date: Wed, 25 Nov 2020 20:44:35 +0000 (-0500) Subject: Bugfix: FTBFS on armel: missing -latomic (Closes: #975433) X-Git-Tag: archive/raspbian/1.0.1+dfsg1-4+rpi1~1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bda350913e6ef69e1090dbd08fd553b0e405ef0;p=gpac.git Bugfix: FTBFS on armel: missing -latomic (Closes: #975433) --- 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 $@