diff --git a/debian/changelog b/debian/changelog index aa45a3e..3d11b85 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,8 +28,9 @@ nut (2.7.4-1) UNRELEASED; urgency=low * debian/control: Fix the grammar in nut-ipmi long description * Drop debian/nut-monitor.menu and debian/nut-monitor.xpm, not needed anymore per tech-ctte decision #741573 + * debian/rules: Enable hardening=+all - -- Laurent Bigonville Mon, 18 Jul 2016 10:02:04 +0200 + -- Laurent Bigonville Mon, 18 Jul 2016 10:22:38 +0200 nut (2.7.2-4) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index f7dfd8a..74a25c4 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,7 @@ DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) include /usr/share/cdbs/1/rules/utils.mk common-binary-post-install-arch:: list-missing +DEB_BUILD_MAINT_OPTIONS=hardening=+all DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed include /usr/share/dpkg/buildflags.mk