From 65e5960a39031504b0b1d189e634d998aa5fbb97 Mon Sep 17 00:00:00 2001 From: Yuriy Kolerov Date: Tue, 9 May 2023 12:30:15 +0400 Subject: gdb: Fix extra config variable name for native GDB Variable native_extra_config must be used for configuration options instead for extra_config for native GDB. Signed-off-by: Yuriy Kolerov --- 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 2fa94981..11d73b9e 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -167,8 +167,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") + native_extra_config+=("--with-expat") + native_extra_config+=("--without-libexpat-prefix") do_gdb_backend \ buildtype=native \ -- cgit v1.2.3