[libosmocore] 21/40: Link as-needed and hardening=+all
Ruben Undheim
rubund-guest at moszumanska.debian.org
Wed Oct 14 12:43:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository libosmocore.
commit 7e4494a5cc2d24af8fa4107e3b6ba37092bd466f
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Wed Sep 16 19:27:41 2015 +0200
Link as-needed and hardening=+all
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 9dd8072..9ecd7dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,8 @@ DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
CHANGELOG_DATE := $(shell date -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
-export DEB_BUILD_HARDENING=1
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with autoreconf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libosmocore.git
More information about the debian-science-commits
mailing list