diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/crosspythonpath.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/crosspythonpath.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch deleted file mode 100644 index f18898e4c4..0000000000 --- a/meta/recipes-devtools/python/python3/crosspythonpath.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From 8840438e73e43b99bc9c83896a5f950e4259738f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ricardo Ribalda <ricardo@ribalda.com> | ||
| 3 | Date: Tue, 18 Nov 2014 03:35:33 -0500 | ||
| 4 | Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for | ||
| 5 | PYTHON_FOR_BUILD | ||
| 6 | |||
| 7 | When building x86->x86 the system will try to execute .so and related items | ||
| 8 | from the default PYTHONPATH. This will fail if the target CPU contains | ||
| 9 | instructions that the host CPU does not have, add CROSSPYTHONPATH | ||
| 10 | into PYTHONPATH so we can prepend the list to find correct libs. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [OE-Core integration specific] | ||
| 13 | |||
| 14 | Credits-to: Mark Hatle <mark.hatle@windriver.com> | ||
| 15 | Credits-to: Jackie Huang <jackie.huang@windriver.com> | ||
| 16 | Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> | ||
| 17 | --- | ||
| 18 | configure.ac | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/configure.ac b/configure.ac | ||
| 22 | index 58f5407..5101806 100644 | ||
| 23 | --- a/configure.ac | ||
| 24 | +++ b/configure.ac | ||
| 25 | @@ -164,7 +164,7 @@ AC_ARG_WITH([build-python], | ||
| 26 | dnl Build Python interpreter is used for regeneration and freezing. | ||
| 27 | ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python | ||
| 28 | PYTHON_FOR_FREEZE="$with_build_python" | ||
| 29 | - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python | ||
| 30 | + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python | ||
| 31 | AC_MSG_RESULT([$with_build_python]) | ||
| 32 | ], [ | ||
| 33 | AS_VAR_IF([cross_compiling], [yes], | ||
