diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-10-29 17:08:44 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-11-02 20:49:26 +1300 |
commit | daf19e17615fdc58503ead8ebff252d7ade90fc0 (patch) | |
tree | 94a5f12d68d78e0c28d9116fbc9852b998797e7e /scripts/functions | |
parent | 4cbd409508c04855070869017fe3e49c0242c6c9 (diff) | |
download | crosstool-ng-daf19e17615fdc58503ead8ebff252d7ade90fc0.tar.gz crosstool-ng-daf19e17615fdc58503ead8ebff252d7ade90fc0.tar.bz2 crosstool-ng-daf19e17615fdc58503ead8ebff252d7ade90fc0.zip |
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>
Diffstat (limited to 'scripts/functions')
0 files changed, 0 insertions, 0 deletions