mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 17:02:21 +02:00
python: Update 2.5 -> 2.6 (from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
19
meta/packages/python/python-2.6.2/99-ignore-optimization-flag.patch
vendored
Normal file
19
meta/packages/python/python-2.6.2/99-ignore-optimization-flag.patch
vendored
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user