changeset 927:5703eb56bf70

Debian: Harden build flags See: https://lintian.debian.org/tags/hardening-no-relro.html https://wiki.debian.org/Hardening Signed-off-by: Simon Horman <horms@verge.net.au>
author Simon Horman <horms@verge.net.au>
date Thu, 11 Sep 2014 11:29:33 +0900
parents cd93d9a693ae
children 1f40b9e12204
files debian/rules
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Thu Sep 11 11:27:10 2014 +0900
+++ b/debian/rules	Thu Sep 11 11:29:33 2014 +0900
@@ -2,6 +2,9 @@
 # Sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 pwd:=$(shell pwd)
 cfg:=--prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-group=nogroup --mandir=/usr/share/man --with-ldap-schema-directory=no --disable-ldap-doc --enable-shared