[hamradio-commits] [soapyuhd] 05/06: Link with --as-needed

Andreas E. Bombe aeb at moszumanska.debian.org
Wed Dec 20 22:00:43 UTC 2017


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

aeb pushed a commit to annotated tag debian/0.3.4-1
in repository soapyuhd.

commit dc7796e6af114b178319bf1b99280ec7c1e94117
Author: Andreas Bombe <aeb at debian.org>
Date:   Wed Dec 20 22:51:06 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 c8dc2f2..02247b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 soapyuhd (0.3.4-1) UNRELEASED; urgency=medium
 
   * New upstream version 0.3.4
+  * Link with --as-needed
   * Bump Standards-Version to 4.1.2, no changes required
 
  -- Andreas Bombe <aeb at debian.org>  Wed, 20 Dec 2017 22:42:22 +0100
diff --git a/debian/rules b/debian/rules
index 395302f..a16f9f9 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
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 export DEB_HOST_MULTIARCH

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



More information about the pkg-hamradio-commits mailing list