summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-configure_ac
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-30 16:01:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-30 16:01:06 +0100
commitc3c50b45244d5c94e1b880b37c3da202ed70fceb (patch)
treeb76a992fe898a1e4e71ded2b4c0dded78cd4bd8a /package/python2/patches/patch-configure_ac
parentfdeed9b0c762e9f700f3e45869ec58057da449a1 (diff)
parent61cc800e46cc943824dc6a0b8e8d413f2795db9f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/patches/patch-configure_ac')
-rw-r--r--package/python2/patches/patch-configure_ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/python2/patches/patch-configure_ac b/package/python2/patches/patch-configure_ac
new file mode 100644
index 000000000..0ec10f1de
--- /dev/null
+++ b/package/python2/patches/patch-configure_ac
@@ -0,0 +1,22 @@
+--- Python-2.7.5.orig/configure.ac 2013-05-12 05:32:54.000000000 +0200
++++ Python-2.7.5/configure.ac 2013-10-30 15:33:30.000000000 +0100
+@@ -19,7 +19,7 @@ AC_SUBST(host)
+ if test "$cross_compiling" = yes; then
+ AC_MSG_CHECKING([for python interpreter for cross build])
+ if test -z "$PYTHON_FOR_BUILD"; then
+- for interp in python$PACKAGE_VERSION python2 python; do
++ for interp in python; do
+ which $interp >/dev/null 2>&1 || continue
+ if $interp -c 'import sys;sys.exit(not (sys.version_info@<:@:2@:>@ >= (2,7) and sys.version_info@<:@0@:>@ < 3))'; then
+ break
+@@ -1066,9 +1066,7 @@ then
+ if test "$Py_DEBUG" = 'true' ; then
+ # Optimization messes up debuggers, so turn it off for
+ # debug builds.
+- OPT="-g -O0 -Wall $STRICT_PROTO"
+- else
+- OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
++ OPT="$STRICT_PROTO"
+ fi
+ ;;
+ *)