mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Removed these patch:
python-native-2.6.5/00-fix-bindir-libdir-for-cross.patch
python/00-fix-bindir-libdir-for-cross.patch
The upstream code has changed, and it does not need the above 2 patches
(fixes) anymore.
Patches rebased to the newer code:
python/01-use-proper-tools-for-cross-build.patch
python/04-default-is-optimized.patch
python/06-avoid_usr_lib_termcap_path_in_linking.patch
python/99-ignore-optimization-flag.patch
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
20 lines
588 B
Diff
20 lines
588 B
Diff
# 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.6/Modules/main.c
|
|
===================================================================
|
|
--- Python-2.6.6.orig/Modules/main.c
|
|
+++ Python-2.6.6/Modules/main.c
|
|
@@ -327,6 +327,9 @@ Py_Main(int argc, char **argv)
|
|
|
|
/* case 'J': reserved for Jython */
|
|
|
|
+ case 'O': /* ignore it */
|
|
+ break;
|
|
+
|
|
case 'N':
|
|
Py_OptimizeFlag=0;
|
|
break;
|