From d75c8c3b0f825d2995d9dd9bc4391c1bf3dc436e Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 18 Feb 2024 12:31:20 +1300 Subject: 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 --- scripts/build/debug/300-gdb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 73c56c9e..da7f370b 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -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 -- cgit v1.2.3