[hamradio-commits] [soapysdr] 07/11: Link with --as-needed

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


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

aeb pushed a commit to branch master
in repository soapysdr.

commit 3baee7618bcde209f69e2e9f3aff03da70d96f2c
Author: Andreas Bombe <aeb at debian.org>
Date:   Fri Jan 6 18:44:58 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 3d1019f..5c289e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ soapysdr (0.5.4-1) UNRELEASED; urgency=medium
   * Add airspy, lms7 and redpitaya dependencies to soapysdr0.5-2-module-all
   * Remove man page for SoapySDRUtil, merged upstream
   * Remove unnecessary dh_installchangelogs override from debian/rules
+  * Link with --as-needed
 
  -- Andreas Bombe <aeb at debian.org>  Fri, 06 Jan 2017 18:02:59 +0100
 
diff --git a/debian/rules b/debian/rules
index 4990409..582b374 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/soapysdr.git



More information about the pkg-hamradio-commits mailing list