From dc5c661fae8baf20ee49eb21740bf4a6913a63fb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 4 Oct 2018 15:10:07 -0700 Subject: debian: Add hardening options. Remove --with-autotools-dev Signed-off-by: Keith Packard --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f5f8677..56ed014 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,15 @@ # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure_flags = $(WITHARCH) --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-nickle-libdir='$${datadir}/nickle' --prefix=/usr --mandir='$${prefix}/share/man' %: - dh $@ --with autotools-dev + dh $@ override_dh_auto_configure: dh_auto_configure -- $(configure_flags) -- cgit v1.2.3