aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-07 23:25:28 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-07 23:25:28 +0200
commit895b14a6fb276fba9ca70ac52bf61410ec541921 (patch)
tree994fb31110c5a4df319e7c80f70c42e039ad105d
parent79c614023d804761ad01520a23c2a2908f7c1a2c (diff)
downloadayatana-indicator-session-895b14a6fb276fba9ca70ac52bf61410ec541921.tar.gz
ayatana-indicator-session-895b14a6fb276fba9ca70ac52bf61410ec541921.tar.bz2
ayatana-indicator-session-895b14a6fb276fba9ca70ac52bf61410ec541921.zip
debian/{rules,control}: 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 1606073..1a1f857 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
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 $@