--- /dev/null
+Index: Python-2.5.1/Python/compile.c
+===================================================================
+--- Python-2.5.1.orig/Python/compile.c
++++ Python-2.5.1/Python/compile.c
+@@ -30,7 +30,7 @@
+ #include "symtable.h"
+ #include "opcode.h"
+
+-int Py_OptimizeFlag = 0;
++int Py_OptimizeFlag = 1;
+
+ /*
+ ISSUES:
--- /dev/null
+Index: Python-2.5.1/Python/compile.c
+===================================================================
+--- Python-2.5.1.orig/Python/compile.c
++++ Python-2.5.1/Python/compile.c
+@@ -30,7 +30,7 @@
+ #include "symtable.h"
+ #include "opcode.h"
+
+-int Py_OptimizeFlag = 0;
++int Py_OptimizeFlag = 1;
+
+ /*
+ ISSUES:
SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
file://bindir-libdir.patch;patch=1 \
file://cross-distutils.patch;patch=1 \
- file://dont-modify-shebang-line.patch;patch=1"
+ file://dont-modify-shebang-line.patch;patch=1 \
+ file://default-is-optimized.patch;patch=1"
S = "${WORKDIR}/Python-${PV}"
inherit autotools native
file://crosscompile.patch;patch=1 \
file://fix-tkinter-detection.patch;patch=1 \
file://autohell.patch;patch=1 \
- file://sitebranding.patch;patch=1"
+ file://sitebranding.patch;patch=1 \
+ file://default-is-optimized.patch;patch=1"
S = "${WORKDIR}/Python-${PV}"
inherit autotools