This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] fix unprotoize dependencies for parallel make
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mark at codesourcery dot com, gdr at integrable-solutions dot net
- Date: Tue, 4 Apr 2006 00:20:32 +0200
- Subject: [patch] fix unprotoize dependencies for parallel make
When building the "proto" language (disabled by default) with make -j,
the build fails due to missing headers. Update the dependencies as
from the protoize.o target. Committed as obvious. Ok for 4.0 and 4.1?
Matthias
2006-04-04 Matthias Klose <doko@debian.org>
* Makefile.in (unprotoize.o): Same dependencies as for protoize.o.
--- gcc/Makefile.in~ 2006-04-03 21:48:13.499667000 +0200
+++ gcc/Makefile.in 2006-04-03 22:00:44.639667000 +0200
@@ -3058,8 +3058,8 @@
$(DRIVER_DEFINES) \
$(srcdir)/protoize.c $(OUTPUT_OPTION))
-unprotoize.o: protoize.c $(srcdir)/../include/getopt.h \
- $(CONFIG_H) $(SYSTEM_H) Makefile version.h
+unprotoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) \
+ $(SYSTEM_H) coretypes.h $(TM_H) Makefile version.h cppdefault.h intl.h
(SHLIB_LINK='$(SHLIB_LINK)' \
SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \
$(CC) -c -DUNPROTOIZE $(ALL_CFLAGS) $(ALL_CPPFLAGS) -Wno-error \