commit: 45ef61e72bd8a80130cb333a78137942b0ed5d93
Author: Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Sat May 9 15:01:18 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun May 10 12:52:47 2015 +0000
URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=45ef61e7
net-misc/openssh: disable stack-protector for x86 and ppc
net-misc/openssh/openssh-6.7_p1-r99.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-misc/openssh/openssh-6.7_p1-r99.ebuild
b/net-misc/openssh/openssh-6.7_p1-r99.ebuild
index 7edc50d..f6ad39c 100644
--- a/net-misc/openssh/openssh-6.7_p1-r99.ebuild
+++ b/net-misc/openssh/openssh-6.7_p1-r99.ebuild
@@ -189,6 +189,10 @@ src_configure() {
append-ldflags -lutil
fi
+ # __stack_chk_fail_local
+ use x86 && myconf+=( --without-stackprotect)
+ use ppc && myconf+=( --without-stackprotect)
+
econf \
--with-ldflags="${LDFLAGS}" \
--disable-strip \