From bdc4f079ddc0dd17d7691103336fecbd3c21ac59 Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Tue, 26 Feb 2019 15:17:03 +0100 Subject: [PATCH] net-misc/openssh: respect user's -fno-stack-protector Closes: https://bugs.gentoo.org/616380 Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- net-misc/openssh/openssh-7.9_p1-r2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-misc/openssh/openssh-7.9_p1-r2.ebuild b/net-misc/openssh/openssh-7.9_p1-r2.ebuild index 0b89a756c78..00d0b4afce4 100644 --- a/net-misc/openssh/openssh-7.9_p1-r2.ebuild +++ b/net-misc/openssh/openssh-7.9_p1-r2.ebuild @@ -282,6 +282,7 @@ src_configure() { $(use_with ssl ssl-engine) $(use_with !elibc_Cygwin hardening) #659210 ) + has -fno-stack-protector ${CFLAGS} && myconf+=( --without-stackprotect ) #616380 # stackprotect is broken on musl x86 use elibc_musl && use x86 && myconf+=( --without-stackprotect ) -- 2.19.2