From 7990911a2a44c9fe477032a181d4280263bf0801 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 16 Feb 2016 08:12:03 +0100 Subject: [PATCH] debian/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 b6a0299..d75340a 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Uploaders: John Paul Adrian Glaubitz , Mike Gabriel , Build-Depends: autotools-dev, cdbs, + dpkg-dev (>= 1.16.1.1), debhelper (>= 9), gobject-introspection, gtk-doc-tools, diff --git a/debian/rules b/debian/rules index 9e20587..6899c05 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,10 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + DEB_BUILD_PARALLEL = 1 # use the NEWS file as upstream ChangeLog...