sys-libs/glibc: drop -fstack-protector* filtering

Nick fixed this upstream in PR7065 quite some time ago. Let's try dropping
it from 9999 and go from there.

Bug: https://sourceware.org/PR7065
Closes: https://bugs.gentoo.org/817836
Closes: https://bugs.gentoo.org/832738
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-01-28 07:17:35 +00:00
parent 97a888d8fd
commit d9b309ab42

View File

@@ -492,10 +492,6 @@ setup_flags() {
# https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3F
replace-flags -O0 -O1
# glibc handles this internally already where it's appropriate;
# can't always have SSP when we're the ones setting it up, etc
filter-flags '-fstack-protector*'
# Similar issues as with SSP. Can't inject yourself that early.
filter-flags '-fsanitize=*'