[Pkg-zsh-commits] [zsh] 01/01: Disable -fstack-protector-strong on s390x
Axel Beckert
abe at deuxchevaux.org
Sat Aug 30 22:56:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch debian
in repository zsh.
commit f3708a118a60e49cf6adf2066454fde32ee860df
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Aug 31 00:55:16 2014 +0200
Disable -fstack-protector-strong on s390x
It causes endless loops in gcc-4.9. See https://bugs.debian.org/759870
for details.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 0baeab3..be0c1a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,12 @@ CONFIGFLAGS += --enable-zsh-secure-free
CONFIGFLAGS += --enable-zsh-hash-debug
endif
+# Disable -fstack-protector-strong on s390x as it causes endless loops
+# in gcc-4.9. See https://bugs.debian.org/759870 for details
+ifeq (s390x,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
+export DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotectorstrong
+endif
+
BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev libc-dev-bin)
build: build-arch build-indep
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git
More information about the Pkg-zsh-commits
mailing list