diff options
author | Clément Chigot <chigot@adacore.com> | 2022-09-15 09:23:50 +0200 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2022-10-17 13:02:54 +0200 |
commit | 95a20247e8caf4b2dfe3ccc587fe59d53d0e5bb6 (patch) | |
tree | 82657265b7f2f92ab80bf79eeafd60ce6e711387 /gdb/python | |
parent | 2a3ed404494cfd7f3b10b5fad7c8625e3942d933 (diff) | |
download | binutils-95a20247e8caf4b2dfe3ccc587fe59d53d0e5bb6.zip binutils-95a20247e8caf4b2dfe3ccc587fe59d53d0e5bb6.tar.gz binutils-95a20247e8caf4b2dfe3ccc587fe59d53d0e5bb6.tar.bz2 |
ld/testsuite: consistently add board_ldflags when linking with GCC
Currently, the functions checking if the compiler is available or if a
feature is available add both board_cflags and board_ldflags.
However, functions running the tests only retrieve board_cflags. This
can lead to unexpected errors when mandaratory flags are defined in
board_ldflags and not board_cflags.
ld/ChangeLog:
* testsuite/ld-unique/unique.exp: Add board_ldflags when
linking with GCC.
* testsuite/lib/ld-lib.exp: Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions