net-misc/openssh: work around Clang 15 miscompilation with -fzero-call-used-regs=all

Bug: https://github.com/llvm/llvm-project/issues/57692
Bug: https://bugs.gentoo.org/869839
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-09-12 21:28:33 +01:00
parent 892dc0afaf
commit 0a8dffa398

View File

@@ -326,6 +326,10 @@ src_configure() {
myconf+=( --disable-utmp --disable-wtmp )
fi
# Workaround for Clang 15 miscompilation with -fzero-call-used-regs=all
# bug #869839 (https://github.com/llvm/llvm-project/issues/57692)
tc-is-clang && myconf+=( --without-hardening )
econf "${myconf[@]}"
}