crosstool-ng/scripts/build/debug
Chris Packham daf19e1761 gdb: Use correct arguments for static linking
As of version 13.x GDB uses libtool for linking instead of g++ these
take different arguments for static linking.  Commit 6146b5a6 ("use
-all-static when building a static gdb") attempted to deal with this but
had the effect of causing older GDB versions to fail to build
statically. Add a new internal flag GDB_CC_LD_LIBTOOL and use this to
decide whether to pass `-static` or `-all-static`.

Fixes #2053
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-11-02 20:49:26 +13:00
..
200-duma.sh duma: Add version 2.5.21 2022-05-15 11:21:22 +12:00
300-gdb.sh gdb: Use correct arguments for static linking 2023-11-02 20:49:26 +13:00
400-ltrace.sh Retire obsoleted milestones 2022-02-11 00:47:50 -08:00
500-strace.sh build: debug: strace: Add -D__USE_MISC to target CFLAGS 2021-03-30 12:58:47 +13:00
duma.in Revert "Determine whether -E/-r option selects extended regexp" 2017-02-26 19:06:35 -08:00
gdbinit.in debug/gdb: install gdbinit sample file 2011-07-24 20:30:52 +02:00