summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-19 14:02:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-19 14:02:34 +0000
commit9884ebc0c29395cac62004ec316a281052ffc3ee (patch)
treef0ad11e6021e0eac81023445ae68bdad9298ff20
parentReleasing debian version 2.13.0-1. (diff)
downloaddnsperf-9884ebc0c29395cac62004ec316a281052ffc3ee.tar.xz
dnsperf-9884ebc0c29395cac62004ec316a281052ffc3ee.zip
Linking with libatomic on architectures where this is needed to fix FTBFS, thanks to Adrian Bunk <bunk@debian.org> (Closes: #1038642).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
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 ${@}