summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-11 07:54:50 (GMT)
committerGitHub <noreply@github.com>2017-02-11 07:54:50 (GMT)
commite6a748c06aa25802aa807256f9f9899c877ebac7 (patch)
tree4030d9c85b2ef3ebc1d8e04259da763ee35043f4 /scripts/build
parent3eed0ca09686521dddc0d41f8a21fb2eba55d6cc (diff)
parent5920157fdd13bbd6fa26fbc215b655e6223cc1bd (diff)
Merge pull request #585 from stilor/disable-cxx-gdb
Supply --disable-build-with-cxx instead of requiring C++
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/debug/300-gdb.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 2370964..b61902e 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -179,6 +179,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 +296,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 )