diff options
| author | Khem Raj <raj.khem@gmail.com> | 2008-12-10 12:08:42 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2008-12-10 12:08:42 -0800 |
| commit | c83835dca4b2a8f8267066037c86a71474f278c2 (patch) | |
| tree | b8645ff1fa623a7b8ce5496a62c2f2a01fd87887 /packages/python/python-native-2.6.1/04-default-is-optimized.patch | |
| parent | fca5cadc1e2012f01afcdd67d9482a4c52aa52d1 (diff) | |
| parent | 1a184ff3d7b13923c4b7cd94866307ac8f399bed (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/python/python-native-2.6.1/04-default-is-optimized.patch')
| -rw-r--r-- | packages/python/python-native-2.6.1/04-default-is-optimized.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/python/python-native-2.6.1/04-default-is-optimized.patch b/packages/python/python-native-2.6.1/04-default-is-optimized.patch new file mode 100644 index 0000000000..5131e0ba69 --- /dev/null +++ b/packages/python/python-native-2.6.1/04-default-is-optimized.patch @@ -0,0 +1,18 @@ +# When compiling for an embedded system, we need every bit of +# performance we can get. default to optimized with the option +# of opt-out. +# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> + +Index: Python-2.6.1/Python/compile.c +=================================================================== +--- Python-2.6.1.orig/Python/compile.c ++++ Python-2.6.1/Python/compile.c +@@ -32,7 +32,7 @@ + #include "symtable.h" + #include "opcode.h" + +-int Py_OptimizeFlag = 0; ++int Py_OptimizeFlag = 1; + + #define DEFAULT_BLOCK_SIZE 16 + #define DEFAULT_BLOCKS 8 |
