debian/rules: Enable hardening=+all

This commit is contained in:
Laurent Bigonville 2016-07-18 10:22:54 +02:00
parent f9eefb910b
commit d755c8b023
2 changed files with 3 additions and 1 deletions

3
debian/changelog vendored
View file

@ -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 <bigon@debian.org> Mon, 18 Jul 2016 10:02:04 +0200
-- Laurent Bigonville <bigon@debian.org> Mon, 18 Jul 2016 10:22:38 +0200
nut (2.7.2-4) unstable; urgency=medium

1
debian/rules vendored
View file

@ -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