diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-01-24 12:46:37 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-01-24 12:46:37 +0100 |
commit | afb6e3ed52142ef8d9450a743f9487c4fedf9a0f (patch) | |
tree | 304e9e23d52f9375ff95607889857bc3db283b1f /package/docker/docker.mk | |
parent | c034b33f241ca90918cfbb0901160f0e874e0c24 (diff) |
gdb: also force ELF support for gdbhost
Similar to how we do for target (ee39d53ce3ee (Fix GDB BFD test linking)).
Gdb comes with an embedded copy of libiberty, but binutils also installs
libiberty.a into HOST_DIR. The gdb configure script tries to link against
this one rather than the gdb version when it checks for ELF support.
This may fail if those versions are not compatible, leading to obscure
error messages from gdb at runtime such as:
I'm sorry, Dave, I can't do that. Symbol format `elf32-$ARCH' unknown.
Fix it by forcing ELF support.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/docker/docker.mk')
0 files changed, 0 insertions, 0 deletions