mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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=*'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user