summaryrefslogtreecommitdiff
path: root/samples/aarch64-rpi3-linux-gnueabi/crosstool.config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-03-15 18:51:56 (GMT)
committerAlexey Neyman <stilor@att.net>2016-04-02 01:15:39 (GMT)
commit62d357d3c0756ec0f220e9cf3a874e591548a65c (patch)
treee175a1b85cd22bb78595df84cd453fe7e9015b5c /samples/aarch64-rpi3-linux-gnueabi/crosstool.config
parent2c7f7cf84784dd86ce03665a7e65de927e03c23e (diff)
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 'samples/aarch64-rpi3-linux-gnueabi/crosstool.config')
0 files changed, 0 insertions, 0 deletions