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

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