diff options
| author | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-08-06 12:16:10 +0200 |
|---|---|---|
| committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-08-06 12:16:10 +0200 |
| commit | 076d31f2981d51b093d86b0751121fe1e10669b1 (patch) | |
| tree | a130a515b1bda8f331b7e32acc5d68498b7e9cf8 /recipes/python/python-2.6.2/99-ignore-optimization-flag.patch | |
| parent | d25647f18dbc1b71ffc8d76c2d8437856351d894 (diff) | |
| parent | e09ab92b9f6208c37b8610a6e0b64bdf3e4cf671 (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python/python-2.6.2/99-ignore-optimization-flag.patch')
| -rw-r--r-- | recipes/python/python-2.6.2/99-ignore-optimization-flag.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/python/python-2.6.2/99-ignore-optimization-flag.patch b/recipes/python/python-2.6.2/99-ignore-optimization-flag.patch new file mode 100644 index 0000000000..02dc44c847 --- /dev/null +++ b/recipes/python/python-2.6.2/99-ignore-optimization-flag.patch @@ -0,0 +1,19 @@ +# Reinstate the empty -O option to fix weird mixing of native and target +# binaries and libraries with LD_LIBRARY_PATH when host==target +# +# Signed-off-by: Denys Dmytriyenko <denis@denix.org> + +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1-orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + ++ case 'O': /* ignore it */ ++ break; ++ + case 'N': + Py_OptimizeFlag=0; + break; |
