diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2012-11-21 13:15:12 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2012-11-21 13:15:12 +0000 |
commit | 379725aac95f17c862f42adfb0a675423b49f0ce (patch) | |
tree | 996bfa211fb0fdd991ce79439ecb453377da65aa /gcc/Makefile.in | |
parent | 9d1e0ad177aab983dccfe4b3f874d6c55f6526cd (diff) |
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: https://gcc.gnu.org/svn/gcc/trunk@193691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 2 |
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) |