[Pkg-crosswire-commits] [sword] 01/03: fix lintian info: hardening-no-bindnow
Dominique Corbex
domcox-guest at moszumanska.debian.org
Thu Apr 13 19:12:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
domcox-guest pushed a commit to branch master
in repository sword.
commit 0dbfb7213bffcd6ddb708df92602024c1ca0b777
Author: Dominique Corbex <dominique at corbex.org>
Date: Thu Apr 13 21:10:32 2017 +0200
fix lintian info: hardening-no-bindnow
---
debian/rules | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 49d64d0..0d2cc6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,11 @@ bd :=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
WFLAGS := -Wall
-CFLAGS = $(shell dpkg-buildflags --get CFLAGS) $(WFLAGS)
-CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) $(WFLAGS)
+DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+CFLAGS+=$(CPPFLAGS) $(WFLAGS)
+CXXFLAGS+=$(CPPFLAGS) $(WFLAGS)
%:
dh $@ --with autoreconf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-crosswire/sword.git
More information about the Pkg-crosswire-commits
mailing list