diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-05-24 19:27:11 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-05-24 19:27:11 +0400 |
commit | cedf3fb78a7b5aa7b250baee0c65e6e4582345b5 (patch) | |
tree | c435d4637113b37c6ab79e4ae2fb0765cf34c36f /debian | |
parent | d002c587df7bad7b0223f7b51a662e112e1e4475 (diff) | |
download | knot-cedf3fb78a7b5aa7b250baee0c65e6e4582345b5.tar.gz |
Build with --as-needed
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 2 |
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 |