diff options
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch b/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch deleted file mode 100644 index a592ea40a1..0000000000 --- a/meta/recipes-devtools/python/python-native/avoid_parallel_make_races_on_pgen.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Avoids parallel make races linking errors when making Parser/PGEN | ||
4 | |||
5 | - Implements Richard Purdie's idea | ||
6 | |||
7 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
8 | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | ||
9 | |||
10 | Index: Python-2.7.9/Makefile.pre.in | ||
11 | =================================================================== | ||
12 | --- Python-2.7.9.orig/Makefile.pre.in | ||
13 | +++ Python-2.7.9/Makefile.pre.in | ||
14 | @@ -610,12 +610,10 @@ Modules/grpmodule.o: $(srcdir)/Modules/g | ||
15 | |||
16 | Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c $(srcdir)/Modules/posixmodule.h | ||
17 | |||
18 | -$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) | ||
19 | +$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS) $(PGEN) | ||
20 | @$(MKDIR_P) Include | ||
21 | - $(MAKE) $(PGEN) | ||
22 | $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) | ||
23 | $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS) | ||
24 | - $(MAKE) $(GRAMMAR_H) | ||
25 | touch $(GRAMMAR_C) | ||
26 | |||
27 | $(PGEN): $(PGENOBJS) | ||