diff options
author | Alexey Neyman <stilor@att.net> | 2016-03-15 11:51:56 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-04-01 18:15:39 -0700 |
commit | 62d357d3c0756ec0f220e9cf3a874e591548a65c (patch) | |
tree | e175a1b85cd22bb78595df84cd453fe7e9015b5c /scripts/build/binutils/binutils.sh | |
parent | 2c7f7cf84784dd86ce03665a7e65de927e03c23e (diff) | |
download | crosstool-ng-62d357d3c0756ec0f220e9cf3a874e591548a65c.tar.gz crosstool-ng-62d357d3c0756ec0f220e9cf3a874e591548a65c.tar.bz2 crosstool-ng-62d357d3c0756ec0f220e9cf3a874e591548a65c.zip |
Unbreak static cross-gdb.
GDB's configure mishandles the libexpat.{so,a} libraries when it is
given -static in CFLAGS AND --with-libexpat-prefix in configure's args:
it checks for <prefix>/lib/libexpat.so and finding that, attempts to
link it as `gcc -static .. conftest.c <prefix>/lib/libexpat.so`; this
obviously fails (.so cannot be statically linked), so configure assumes
libexpat is unusable. Thus, --with-libexpat-prefix is dangerous and
should be avoided; instead, configure should find the libraries via the
supplied CC/LD definitions.
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
0 files changed, 0 insertions, 0 deletions