commit:     d9b309ab42ee15a09e4a0874161a64ca04102cd5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 07:17:35 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 07:17:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b309ab

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 <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 9622057c7724..3d994649ea35 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -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=*'
 

Reply via email to