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 <ykolerov@synopsys.com>
This commit is contained in:
Yuriy Kolerov 2023-05-09 12:30:15 +04:00 committed by Chris Packham
parent 694c08a6ca
commit 65e5960a39

View File

@ -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 \