aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 17:07:24 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 17:07:24 +0200
commit30c0c4345a10ff62185a957bbe31d6daac8c65f1 (patch)
treed03667cbfc15eded98d970edcf0925ccf5121e27
parentab351f2e535b7b8f2166747b2048eb2accabac01 (diff)
downloadayatana-indicator-power-30c0c4345a10ff62185a957bbe31d6daac8c65f1.tar.gz
ayatana-indicator-power-30c0c4345a10ff62185a957bbe31d6daac8c65f1.tar.bz2
ayatana-indicator-power-30c0c4345a10ff62185a957bbe31d6daac8c65f1.zip
debian/{control,rules}: Enable all hardening flags.
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules4
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index df7a239..8510809 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends: cmake,
python:any,
# for packaging
debhelper (>= 9),
+ dpkg-dev (>= 1.16.1.1),
intltool,
# for tests
libgtest-dev,
diff --git a/debian/rules b/debian/rules
index 48f1c29..f8bf3d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,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 $@