diff options
author | Keith Packard <keithp@keithp.com> | 2018-10-04 15:10:07 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-04 15:10:07 -0700 |
commit | dc5c661fae8baf20ee49eb21740bf4a6913a63fb (patch) | |
tree | c8b204ea9b27e5775d862bb4c580362ca65cf6d8 | |
parent | de9a63fa974bdaa76e943d703ba4163794789191 (diff) |
debian: Add hardening options. Remove --with-autotools-dev
Signed-off-by: Keith Packard <keithp@keithp.com>
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
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) |