[hamradio-commits] [limesuite] 03/06: Link with --as-needed

Andreas E. Bombe aeb at moszumanska.debian.org
Fri Jan 6 03:49:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

aeb pushed a commit to branch master
in repository limesuite.

commit 5dee24e73d83ab4a1d94d494ff16ab33947dcfbb
Author: Andreas Bombe <aeb at debian.org>
Date:   Fri Jan 6 03:50:21 2017 +0100

    Link with --as-needed
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c08e268..1bb203a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 limesuite (16.8.23.819+git20161221+dfsg-2) UNRELEASED; urgency=medium
 
   * Link to libatomic (Closes: #849536)
+  * Link with --as-needed 
   * Make liblimesuite-dev Multi-Arch: same and limesuite-udev
     Multi-Arch: foreign
 
diff --git a/debian/rules b/debian/rules
index 97bd423..cd8e5c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 # extract the architecture for setting the library path suffix
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/limesuite.git



More information about the pkg-hamradio-commits mailing list