diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 23709643..a5ac7f9d 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -1,7 +1,5 @@ # Build script for the gdb debug facility -if [ "${CT_GDB_CROSS}" = y -o "${CT_GDB_GDBSERVER}" = "y" -o "${CT_GDB_NATIVE}" = "y" ]; then - do_debug_gdb_get() { local linaro_version="" local linaro_series="" @@ -179,6 +177,9 @@ do_debug_gdb_build() { native_extra_config=("${extra_config[@]}") + # We may not have C++ language configured for target + native_extra_config+=("--disable-build-with-cxx") + # GDB on Mingw depends on PDcurses, not ncurses if [ "${CT_MINGW32}" != "y" ]; then native_extra_config+=("--with-curses") @@ -293,6 +294,9 @@ do_debug_gdb_build() { gdbserver_extra_config=("${extra_config[@]}") + # We may not have C++ language configured for target + gdbserver_extra_config+=("--disable-build-with-cxx") + if [ "${CT_GDB_GDBSERVER_HAS_IPA_LIB}" = "y" ]; then if [ "${CT_GDB_GDBSERVER_BUILD_IPA_LIB}" = "y" ]; then gdbserver_extra_config+=( --enable-inprocess-agent ) @@ -340,5 +344,3 @@ do_debug_gdb_build() { CT_EndStep fi } - -fi |