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")