mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
work around toolchains with broken visibility in libgcc/libpcc
This commit is contained in:
parent
31d73a560b
commit
ea1e2c5e18
1 changed files with 5 additions and 0 deletions
5
configure
vendored
5
configure
vendored
|
@ -534,6 +534,11 @@ tryldflag LDFLAGS_AUTO -Wl,--hash-style=both
|
|||
# runtime library; implementation error is also a possibility.
|
||||
tryldflag LDFLAGS_AUTO -Wl,--no-undefined
|
||||
|
||||
# Avoid exporting symbols from compiler runtime libraries. They
|
||||
# should be hidden anyway, but some toolchains including old gcc
|
||||
# versions built without shared library support and pcc are broken.
|
||||
tryldflag LDFLAGS_AUTO -Wl,--exclude-libs=ALL
|
||||
|
||||
test "$shared" = "no" || {
|
||||
# Disable dynamic linking if ld is broken and can't do -Bsymbolic-functions
|
||||
LDFLAGS_DUMMY=
|
||||
|
|
Loading…
Add table
Reference in a new issue