diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-15 20:06:49 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-15 20:06:49 +0000 |
commit | a71e0b7fd43bde934854cfd5ad3e8dad2df87948 (patch) | |
tree | 813b7d42efd02d2e9194c3ea19c538bd2031bf94 /packages/python/python-native-2.5.1/default-is-optimizied.patch | |
parent | 0f124ac05c760aab06d82ee3f3717431c041d86b (diff) |
python[-native] 2.5.1: add patch to compile everything in optimized bytecode.
This also reduces the packaging size / flash consumption
Diffstat (limited to 'packages/python/python-native-2.5.1/default-is-optimizied.patch')
-rw-r--r-- | packages/python/python-native-2.5.1/default-is-optimizied.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/python/python-native-2.5.1/default-is-optimizied.patch b/packages/python/python-native-2.5.1/default-is-optimizied.patch new file mode 100644 index 0000000000..6beeb6e022 --- /dev/null +++ b/packages/python/python-native-2.5.1/default-is-optimizied.patch @@ -0,0 +1,13 @@ +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: |