From 5f4a44211f18ab370edf29ff977bf9035219559c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 7 Dec 2017 10:18:59 +0100 Subject: debian/{control,rules}: Enable all hardening flags. --- debian/control | 1 + debian/rules | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debian/control b/debian/control index 6da8699..0f87210 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Mike Gabriel Build-Depends: debhelper (>= 9), + dpkg-dev (>= 1.16.1.1~), libgtest-dev, libpam0g-dev, libssh-dev, diff --git a/debian/rules b/debian/rules index 637ae1e..37228c7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/autotools.mk -- cgit v1.2.3