From a357f87b9e5ee6863ad2011be7944e30e3c9e6cd Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 27 Mar 2013 15:51:58 -0700 Subject: Update to debhelper V9, enable hardening, parallel builds * Update debhelper compatibility level to V9. - Enable all hardening build flags. - Enable parallel builds. Change-Id: I816acdcf5a204fddc909f78e3db39493e7c2321e --- debian/rules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 11d6e5e..a60a61f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,13 @@ #!/usr/bin/make -f +# Add hardening build flags. +export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie + %: - dh $@ + dh $@ --parallel override_dh_auto_configure: - dh_auto_configure -- --enable-reduced-depends + dh_auto_configure --parallel -- --enable-reduced-depends # We rebuild the perl directory Makefile to encode the correct installation # paths, since otherwise it defaults to using the local site module path. -- cgit v1.2.3