diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-11-07 20:23:49 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-11-07 20:23:49 -0500 |
commit | ea1e2c5e18dd0790fb9b2af2bd947f4981736dc2 (patch) | |
tree | 06799e50e3d6279f7209c5c2fc597701bd607d58 | |
parent | 31d73a560b2e14a2030f92f238064e1e98215e50 (diff) | |
download | musl-ea1e2c5e18dd0790fb9b2af2bd947f4981736dc2.tar.gz musl-ea1e2c5e18dd0790fb9b2af2bd947f4981736dc2.tar.bz2 musl-ea1e2c5e18dd0790fb9b2af2bd947f4981736dc2.tar.xz musl-ea1e2c5e18dd0790fb9b2af2bd947f4981736dc2.zip |
work around toolchains with broken visibility in libgcc/libpcc
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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= |