This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[committed] Fix parallel build problem
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sat, 11 Sep 2004 16:48:12 -0400 (EDT)
- Subject: [committed] Fix parallel build problem
The problem was that ggc-none.c was not depending on all
the right files so it was trying to be compiled first
before the files that it needs were created.
I committed this as obvious.
2004-09-11 Andrew Pinski <apinski@apple.com>
* Make-lang.in (java/ggc-none.c): Change dependency
for ggc.h into $(GGC_H).
Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Make-lang.in,v
retrieving revision 1.143
diff -u -p -r1.143 Make-lang.in
--- Make-lang.in 11 Sep 2004 19:08:04 -0000 1.143
+++ Make-lang.in 11 Sep 2004 20:47:57 -0000
@@ -343,7 +343,7 @@ java/parse.o: java/parse.c java/jcf-read
java/lex.h input.h $(GGC_H) debug.h gt-java-parse.h gtype-java.h target.h
# ggc-none.c is in the parent directory
-java/ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h ggc.h
+java/ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/ggc-none.c $(OUTPUT_OPTION)