提交 ea1e2c5e 编写于 作者: R Rich Felker

work around toolchains with broken visibility in libgcc/libpcc

上级 31d73a56
...@@ -534,6 +534,11 @@ tryldflag LDFLAGS_AUTO -Wl,--hash-style=both ...@@ -534,6 +534,11 @@ tryldflag LDFLAGS_AUTO -Wl,--hash-style=both
# runtime library; implementation error is also a possibility. # runtime library; implementation error is also a possibility.
tryldflag LDFLAGS_AUTO -Wl,--no-undefined 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" || { test "$shared" = "no" || {
# Disable dynamic linking if ld is broken and can't do -Bsymbolic-functions # Disable dynamic linking if ld is broken and can't do -Bsymbolic-functions
LDFLAGS_DUMMY= LDFLAGS_DUMMY=
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册