sys-libs/glibc: Stop installing SSP and FORTIFY_SOURCE handler

[12:38:42] <Zorry> dilfridge: you can remove the einfo "Installing
           Hardened Gentoo SSP and FORTIFY_SOURCE handler" and cp files too
[12:38:53] <Zorry> for glibc
[12:50:17] <dilfridge> ok
[12:50:20] <dilfridge> will do

Closes: https://bugs.gentoo.org/601718
Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
Andreas K. Hüttel
2018-05-20 18:04:55 +02:00
parent d055bd9d1c
commit 134eb78add

View File

@@ -767,15 +767,6 @@ src_prepare() {
chmod u+x "${S}"/scripts/*.sh
cd "${S}"
if use hardened ; then
# We don't enable these for non-hardened as the output is very terse --
# it only states that a crash happened. The default upstream behavior
# includes backtraces and symbols.
einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler"
cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-stack_chk_fail.c debug/stack_chk_fail.c || die
cp "${FILESDIR}"/2.25/glibc-2.25-gentoo-chk_fail.c debug/chk_fail.c || die
fi
}
glibc_do_configure() {