From 66a09cac4661901d715bcf449807e46a205b5d87 Mon Sep 17 00:00:00 2001 From: Carlos Maddela Date: Mon, 19 Dec 2016 02:30:22 +1100 Subject: [PATCH] Build with all hardening flags set. --- debian/control | 1 + debian/rules | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/debian/control b/debian/control index 179f3c6..b053713 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Optical Media Tools Team , Rogério Brito Build-Depends: debhelper (>= 9), + dpkg-dev (>= 1.16.1.1), gettext, libbz2-dev, libgtk2.0-dev, diff --git a/debian/rules b/debian/rules index ffbf953..1e6b633 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,10 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS) + %: dh $@