sys-libs/glibc: Filter -Wl,--dynamic-linker=* from LDFLAGS

This flag is added for cross-prefix by cross-boss, but causes ldconfig to
segfault. It's not needed here anyway because glibc already handles this by
itself.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2023-09-13 09:01:00 +01:00
parent 29d3367086
commit 59d1f02bcc
2 changed files with 8 additions and 0 deletions

View File

@@ -447,6 +447,10 @@ setup_flags() {
# https://sourceware.org/PR27837
filter-ldflags '-Wl,--relax'
# Flag added for cross-prefix, but causes ldconfig to segfault. Not needed
# anyway because glibc already handles this by itself.
filter-ldflags '-Wl,--dynamic-linker=*'
# some weird software relies on sysv hashes in glibc, bug 863863, bug 864100
# we have to do that here already so mips can filter it out again :P
if use hash-sysv-compat ; then

View File

@@ -447,6 +447,10 @@ setup_flags() {
# https://sourceware.org/PR27837
filter-ldflags '-Wl,--relax'
# Flag added for cross-prefix, but causes ldconfig to segfault. Not needed
# anyway because glibc already handles this by itself.
filter-ldflags '-Wl,--dynamic-linker=*'
# some weird software relies on sysv hashes in glibc, bug 863863, bug 864100
# we have to do that here already so mips can filter it out again :P
if use hash-sysv-compat ; then