From 600368fe326f48dd9e5538f955df97be3a3a9df5 Mon Sep 17 00:00:00 2001 From: mshawcroft Date: Wed, 21 Nov 2012 13:15:12 +0000 Subject: [PATCH] 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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193691 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e76e8a..2815d01 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 17d5bd3..88b29ea 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) -- 2.7.4