]> git.proxmox.com Git - mirror_spl-debian.git/commitdiff
debian/rules: Enable build hardening
authorNicolas Braud-Santoni <nicolas@braud-santoni.eu>
Sat, 5 May 2018 18:07:14 +0000 (20:07 +0200)
committerMo Zhou <cdluminate@gmail.com>
Tue, 18 Sep 2018 09:18:33 +0000 (09:18 +0000)
debian/rules

index 3a12abc494e49dd9115b7d9fcca12a313c656ae4..8d382133ada46f4e08d19bede6bb88b28a271270 100755 (executable)
@@ -6,6 +6,8 @@ VERSION := $(shell dpkg-parsechangelog \
 REVISION := $(shell dpkg-parsechangelog \
   | awk '$$1 == "Version:" { print $$2; }' | cut -d- -f2-)
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 ifndef DEB_HOST_ARCH
 DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
 endif