diff options
Diffstat (limited to 'meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch')
-rw-r--r-- | meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch b/meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch deleted file mode 100644 index a5d9812caf..0000000000 --- a/meta/recipes-devtools/python/python/99-ignore-optimization-flag.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | # Reinstate the empty -O option to fix weird mixing of native and target | ||
4 | # binaries and libraries with LD_LIBRARY_PATH when host==target | ||
5 | # | ||
6 | # Signed-off-by: Denys Dmytriyenko <denis@denix.org> | ||
7 | |||
8 | Index: Python-2.6.6/Modules/main.c | ||
9 | =================================================================== | ||
10 | --- Python-2.6.6.orig/Modules/main.c | ||
11 | +++ Python-2.6.6/Modules/main.c | ||
12 | @@ -327,6 +327,9 @@ Py_Main(int argc, char **argv) | ||
13 | |||
14 | /* case 'J': reserved for Jython */ | ||
15 | |||
16 | + case 'O': /* ignore it */ | ||
17 | + break; | ||
18 | + | ||
19 | case 'N': | ||
20 | Py_OptimizeFlag=0; | ||
21 | break; | ||