[Pkg-zfsonlinux-devel] [PATCH] Enable all hardening flags

Richard Laager rlaager at wiktel.com
Sun Sep 15 07:20:47 UTC 2013


---
 debian/rules |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index cae6d99..8097aea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,8 @@ non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://')
 PACKAGE=zfs
 pmodules = $(PACKAGE)-modules-$(non_epoch_version)
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 %:
 	dh $@ --with dkms --parallel
 
-- 
1.7.9.5




More information about the Pkg-zfsonlinux-devel mailing list