From cc33ba997851d1fc90ca2417cd86af125bfb539f Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Wed, 13 Apr 2016 19:07:43 +0200 Subject: Add hardening flags --- debian/control | 2 +- debian/rules | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index d10eff0..048b863 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Daniel Lange Uploaders: Eugene V. Lyubimkin , Graham Inggs Build-Depends: debhelper (>= 9), libncurses5-dev, libncursesw5-dev, - dh-autoreconf + dh-autoreconf, dpkg-dev (>= 1.16.1.1) Standards-Version: 3.9.7 Homepage: http://hisham.hm/htop/ diff --git a/debian/rules b/debian/rules index 430c8fb..b104406 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,9 @@ #!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + %: dh $@ --with autoreconf -- cgit v1.2.3