summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-01-24 18:24:58 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-01-24 18:49:36 +0100
commit0013070a348a68ced5894522501ad3b17d26e7fb (patch)
tree639b0a2d40ac66d3a478e2755fcc2e1d2d4c6792
parent9789916ebeac0f27a3a2e35d14a971adb4a7907e (diff)
downloadzsh-0013070a348a68ced5894522501ad3b17d26e7fb.tar.gz
zsh-0013070a348a68ced5894522501ad3b17d26e7fb.zip
Enable hardening=+bindnow, fixes lintian warning hardening-no-bindnow
Also add hint why I haven't enabled hardening=+all or hardening=+pie.
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index bfb191d20..afdf5406c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+# hardening=+all or hardening=+pie causes test suite to fail:
+# C02cond.ztst exits prematurely and silently
+export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
+
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
H_LDFLAGS = $(LDFLAGS)