Skip to content

Commit

Permalink
Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX reference
Browse files Browse the repository at this point in the history
This commit fixes an incorrect reference to the configuration
`CT_GDB_NATIVE_STATIC_LIBSTDCXX` in the GDB build script.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed May 26, 2020
1 parent 5659366 commit b07da3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build/debug/300-gdb.sh
Expand Up @@ -146,7 +146,7 @@ do_debug_gdb_build()
cflags="${CT_ALL_TARGET_CFLAGS}" \
ldflags="${CT_ALL_TARGET_LDFLAGS}" \
static="${CT_GDB_NATIVE_STATIC}" \
static_libstdc="${CT_GDB_NATIVE_STATIC_LIBSTDC}" \
static_libstdcxx="${CT_GDB_NATIVE_STATIC_LIBSTDCXX}" \
prefix=/usr \
destdir="${CT_DEBUGROOT_DIR}" \
"${native_extra_config[@]}"
Expand Down Expand Up @@ -236,7 +236,7 @@ do_gdb_backend()
cflags+=" -static"
ldflags+=" -static"
fi
if [ "${static_libstdc}" = "y" ]; then
if [ "${static_libstdcxx}" = "y" ]; then
ldflags+=" -static-libstdc++"
fi

Expand Down

0 comments on commit b07da3b

Please sign in to comment.