aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-08 21:04:45 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-08-08 21:30:56 +0800
commit89f41cc2452f2c3ab645a35db0aa5bf6cba0795d (patch)
treebb1f3fd9fc20cab46e419133878353c4740adb21
parent6d144f8edfd3879d3c241713331460d9a6e3ee86 (diff)
downloadbuild-89f41cc2452f2c3ab645a35db0aa5bf6cba0795d.tar.gz
Disable python support for gdb-7.x
Before python is also prebuilt, disable python support in gdb-7.x for now, otherwise gdb-7.x/configure may pick up whatever python in host and build gdb with hard-wired dependency to specific version of python. See related issue: http://code.google.com/p/android/issues/detail?id=36120 Change-Id: I15d1144767343fb717864470f7a57f66fd7ba127
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index eb78661..379929a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -724,6 +724,11 @@ stmp-config-target-gdb: stmp-install-host-expat
GDB_CONFIG_ARGS += --with-expat --with-libexpat-prefix=$(EXPAT_DIR)
endif
+# For gdb 7.x, disable python support for now
+ifeq ($(filter gdb-6.%,$(GDB_VERSION)),)
+GDB_CONFIG_ARGS += --with-python=no
+endif
+
stmp-config-target-gdb: config.status $(canadian_stmp)
([ -d ${GDB_VERSION} ] || \
mkdir ${GDB_VERSION}) && \