summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 264b48f..f5b777c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,8 @@
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export LDFLAGS += -Wl,--as-needed
+
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),hurd-i386))
RECVMMSG:=--enable-recvmmsg=no
else