mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
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 <demin.han@starfivetech.com>
This commit is contained in:
parent
8c1cdb94c1
commit
6d1d61cbca
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user