summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authormshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-21 13:15:12 +0000
committermshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-21 13:15:12 +0000
commit600368fe326f48dd9e5538f955df97be3a3a9df5 (patch)
tree996bfa211fb0fdd991ce79439ecb453377da65aa /gcc/Makefile.in
parent19fb7ad935240079604778d6ae9f2fa66588e650 (diff)
downloadgcc-600368fe326f48dd9e5538f955df97be3a3a9df5.tar.gz
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 <marcus.shawcroft@arm.com> * 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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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)