diff options
Diffstat (limited to 'meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch')
-rw-r--r-- | meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch b/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch index 56992210a2..b02c09458f 100644 --- a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch +++ b/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch | |||
@@ -25,40 +25,6 @@ Index: Python-2.7.13/Makefile.pre.in | |||
25 | 25 | ||
26 | # Create build directory and generate the sysconfig build-time data there. | 26 | # Create build directory and generate the sysconfig build-time data there. |
27 | # pybuilddir.txt contains the name of the build dir and is used for | 27 | # pybuilddir.txt contains the name of the build dir and is used for |
28 | @@ -1121,27 +1122,27 @@ libinstall: build_all $(srcdir)/Lib/$(PL | ||
29 | $(DESTDIR)$(LIBDEST)/distutils/tests ; \ | ||
30 | fi | ||
31 | PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
32 | - $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
33 | + $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
34 | -d $(LIBDEST) -f \ | ||
35 | -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ | ||
36 | $(DESTDIR)$(LIBDEST) | ||
37 | PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
38 | - $(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
39 | + $(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
40 | -d $(LIBDEST) -f \ | ||
41 | -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ | ||
42 | $(DESTDIR)$(LIBDEST) | ||
43 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
44 | - $(PYTHON_FOR_BUILD) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
45 | + $(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
46 | -d $(LIBDEST)/site-packages -f \ | ||
47 | -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | ||
48 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
49 | - $(PYTHON_FOR_BUILD) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
50 | + $(HOSTPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
51 | -d $(LIBDEST)/site-packages -f \ | ||
52 | -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | ||
53 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
54 | - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt | ||
55 | + $(HOSTPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt | ||
56 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
57 | - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt | ||
58 | + $(HOSTPYTHON) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt | ||
59 | |||
60 | # Create the PLATDIR source directory, if one wasn't distributed.. | ||
61 | $(srcdir)/Lib/$(PLATDIR): | ||
62 | Index: Python-2.7.13/setup.py | 28 | Index: Python-2.7.13/setup.py |
63 | =================================================================== | 29 | =================================================================== |
64 | --- Python-2.7.13.orig/setup.py | 30 | --- Python-2.7.13.orig/setup.py |