[Pkg-remote-commits] [pinentry-x2go] 05/06: debian/rules: Enable all hardening flags.
Mike Gabriel
sunweaver at debian.org
Wed Nov 30 11:54:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository pinentry-x2go.
commit 17c32fa9f9456d4c13de5cccefc75c02f014abaa
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Nov 30 12:51:05 2016 +0100
debian/rules: Enable all hardening flags.
---
debian/rules | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2a94d68..ba6ea43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,8 @@
#!/usr/bin/make -f
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with autoreconf --parallel
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/pinentry-x2go.git
More information about the pkg-remote-commits
mailing list