From 9884ebc0c29395cac62004ec316a281052ffc3ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 19 Jun 2023 16:02:34 +0200 Subject: Linking with libatomic on architectures where this is needed to fix FTBFS, thanks to Adrian Bunk (Closes: #1038642). Signed-off-by: Daniel Baumann --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 950156b..2df2d96 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4)) + export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed +endif + %: dh ${@} -- cgit v1.2.3