From 895b14a6fb276fba9ca70ac52bf61410ec541921 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 7 Jun 2017 23:25:28 +0200 Subject: debian/{rules,control}: Enable all hardening flags. --- debian/control | 1 + debian/rules | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'debian') diff --git a/debian/control b/debian/control index 1606073..1a1f857 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Mike Gabriel Build-Depends: cmake, dbus, debhelper (>= 9), + dpkg-dev (>= 1.16.1.1), intltool, libglib2.0-dev (>= 2.36), libgtest-dev, diff --git a/debian/rules b/debian/rules index 9e2e5aa..3cbbbc8 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,10 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=4 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + %: dh $@ -- cgit v1.2.3