From 636eb14bf596cc369ea72d7489c43eebefbf098e Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 14 May 2016 07:55:03 +0200 Subject: [PATCH] Improve hardening of the package (all except pie) PIE seems to not work for some reason, disable it for now but enable all other features. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 743dc1f..a42a6d7 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,10 @@ DBGROOT=$(CURDIR)/debian/python-pyxattr-dbg PKG3ROOT=$(CURDIR)/debian/python3-pyxattr DBG3ROOT=$(CURDIR)/debian/python3-pyxattr-dbg +export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + build: build-arch build-indep touch $@ -- 2.39.5