From 6d1d61cbcacc7ce4622ef024490e0cb56881614b Mon Sep 17 00:00:00 2001 From: "demin.han" Date: Mon, 14 Oct 2024 15:31:02 +0800 Subject: [PATCH] gdb: fix GDB_CC_LD_LIBTOOL reference GDB_CC_LD_LIBTOOL doesn't exist and so else branch always taken. We should use CT_GDB_CC_LD_LIBTOOL. Signed-off-by: demin.han --- scripts/build/debug/300-gdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 8f9c51e5..ce77260a 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -347,7 +347,7 @@ do_gdb_backend() "${extra_config[@]}" \ if [ "${static}" = "y" ]; then - if [ "${GDB_CC_LD_LIBTOOL}" = "y" ]; then + if [ "${CT_GDB_CC_LD_LIBTOOL}" = "y" ]; then extra_make_flags+=("LDFLAGS=${ldflags} -all-static") else extra_make_flags+=("LDFLAGS=${ldflags} -static")