mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
gdb: Static cross GDB is linked statically with std c++ library
If static cross GDB configuration is selected, cross GDB will be linked statically with std c++ library, because there is no separate option for static std c++ library for cross GDB. The use of not existing variable CT_GDB_NATIVE_STATIC_LIBSTDC has been replaced with CT_GDB_NATIVE_STATIC_LIBSTDCXX. Signed-off-by: Maksim Morozov <maxim.morozov.a@gmail.com>
This commit is contained in:
parent
d659700d68
commit
e9cd702a9f
@ -76,6 +76,7 @@ do_debug_gdb_build()
|
||||
ldflags="${CT_LDFLAGS_FOR_HOST}" \
|
||||
prefix="${CT_PREFIX_DIR}" \
|
||||
static="${CT_GDB_CROSS_STATIC}" \
|
||||
static_libstdcxx="${CT_GDB_CROSS_STATIC}" \
|
||||
--with-sysroot="${CT_SYSROOT_DIR}" \
|
||||
"${cross_extra_config[@]}"
|
||||
|
||||
@ -177,7 +178,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[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user