mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-11 06:54:06 +00:00
gdb: Fix extra config variable name for cross GDB
Similar to commit 65e5960a ("gdb: Fix extra config variable name for native GDB") we need to use cross_extra_config for the options we're passing to the gdb build when cross compiling. Fixes: 5463ab4b ("gdb: Add gdb-10.2") Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
f0415c04e3
commit
d75c8c3b0f
@ -66,8 +66,8 @@ do_debug_gdb_build()
|
||||
# version of expat and will attempt to link that, despite the -static flag.
|
||||
# The link will fail, and configure will abort with "expat missing or unusable"
|
||||
# message.
|
||||
extra_config+=("--with-expat")
|
||||
extra_config+=("--without-libexpat-prefix")
|
||||
cross_extra_config+=("--with-expat")
|
||||
cross_extra_config+=("--without-libexpat-prefix")
|
||||
|
||||
# ct-ng always builds ncurses in cross mode as a static library.
|
||||
# Starting from the patchset 20200718 ncurses defines a special macro
|
||||
|
Loading…
x
Reference in New Issue
Block a user