From: Andrew Hsieh Date: Wed, 8 Aug 2012 13:04:45 +0000 (+0800) Subject: Disable python support for gdb-7.x X-Git-Url: https://nv-tegra.nvidia.com/r/gitweb?p=android%2Ftoolchain%2Fbuild.git;a=commitdiff_plain;h=89f41cc2452f2c3ab645a35db0aa5bf6cba0795d 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 --- 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}) && \