summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-05-24 19:27:11 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-05-24 19:27:11 +0400
commitcedf3fb78a7b5aa7b250baee0c65e6e4582345b5 (patch)
treec435d4637113b37c6ab79e4ae2fb0765cf34c36f /debian
parentd002c587df7bad7b0223f7b51a662e112e1e4475 (diff)
downloadknot-cedf3fb78a7b5aa7b250baee0c65e6e4582345b5.tar.gz
Build with --as-needed
Diffstat (limited to 'debian')
-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