summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch')
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch b/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
deleted file mode 100644
index 9ed03858d4..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 840fda32c82550259d02a7a56a78a9c05162b1a1 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 8 May 2019 16:10:29 +0800
4Subject: [PATCH] Makefile: fix Issue36464 (parallel build race problem)
5
6When using make -j with the 'install' target, it's possible for altbininstall
7(which normally creates BINDIR) and libainstall (which doesn't, though it
8installs python-config there) to race, resulting in a failure due to
9attempting to install python-config into a nonexistent BINDIR. Ensure it also
10exists in the libainstall target.
11
12Upstream-Status: Backport [https://github.com/python/cpython/commit/a25c46bd7dd47a2f95b32d17ee2f66de214892c6]
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14---
15 Makefile.pre.in | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile.pre.in b/Makefile.pre.in
19index 15f3687..7e9f173 100644
20--- a/Makefile.pre.in
21+++ b/Makefile.pre.in
22@@ -1456,7 +1456,7 @@ LIBPL= @LIBPL@
23 LIBPC= $(LIBDIR)/pkgconfig
24
25 libainstall: @DEF_MAKE_RULE@ python-config
26- @for i in $(LIBDIR) $(LIBPL) $(LIBPC); \
27+ @for i in $(LIBDIR) $(LIBPL) $(LIBPC) $(BINDIR); \
28 do \
29 if test ! -d $(DESTDIR)$$i; then \
30 echo "Creating directory $$i"; \
31--
322.7.4
33