[committed] Fix parallel build problem

Andrew Pinski pinskia@physics.uc.edu
Sat Sep 11 22:03:00 GMT 2004


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)



More information about the Gcc-patches mailing list