mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 03:06:42 +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[@]}" \
|
"${extra_config[@]}" \
|
||||||
|
|
||||||
if [ "${static}" = "y" ]; then
|
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")
|
extra_make_flags+=("LDFLAGS=${ldflags} -all-static")
|
||||||
else
|
else
|
||||||
extra_make_flags+=("LDFLAGS=${ldflags} -static")
|
extra_make_flags+=("LDFLAGS=${ldflags} -static")
|
||||||
|
Loading…
Reference in New Issue
Block a user