From: Marcus Shawcroft Date: Wed, 21 Nov 2012 13:15:12 +0000 (+0000) Subject: Fix parallel build race. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3e3d235489be0ffa764ab81f4d018b96b2a0d16;p=gcc.git Fix parallel build race. gengtype-lex.c is built twice, once for BUILD and once for HOST, but the BUILD flavour is missing a dependency on $(BCONFIG_H). 2012-11-21 Marcus Shawcroft * Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H). From-SVN: r193691 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e76e8a53ca..2815d015570 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-11-21 Marcus Shawcroft + + * Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H). + 2012-11-21 Bin Cheng * config/arm/arm-cores.def (cortex-m1, cortex-m0) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 17d5bd3ee35..88b29ea6758 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3886,7 +3886,7 @@ build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def # the build-%: rule doesn't apply to them. gengtype-lex.o build/gengtype-lex.o : gengtype-lex.c gengtype.h $(SYSTEM_H) -gengtype-lex.o: $(CONFIG_H) +gengtype-lex.o: $(CONFIG_H) $(BCONFIG_H) CFLAGS-gengtype-lex.o += -DGENERATOR_FILE build/gengtype-lex.o: $(BCONFIG_H)