mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user