sys-libs/glibc: Stop installing SSP and FORTIFY_SOURCE handler
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 20 May 2018 16:04:55 +0000 (18:04 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 20 May 2018 16:05:53 +0000 (18:05 +0200)
[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

sys-libs/glibc/glibc-9999.ebuild

index a3120178c7f6e1531fcf2e5973f71aaec44f3fe6..d628938b2a70b9e6b5426b954a80d762349935fc 100644 (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() {