(stmp-fixproto): Depend on LIBGCC2_DEPS.
authorRichard Stallman <rms@gnu.org>
Tue, 19 Oct 1993 05:25:49 +0000 (05:25 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 19 Oct 1993 05:25:49 +0000 (05:25 +0000)
From-SVN: r5806

gcc/Makefile.in

index 6e533e2..60b2dc7 100644 (file)
@@ -207,6 +207,7 @@ LIBGCC2_INCLUDES =
 
 # Things which must be built before building libgcc2.a.
 # Some targets override this to stmp-int-hdrs
+# Use of fixproto also depends on this.
 LIBGCC2_DEPS =
 
 # Enquire target (This is a variable so that a target can choose not to
@@ -1582,7 +1583,8 @@ patch-header: patch-header.o scan-decls.o scan.o xsys-protos.h $(HOST_OBSTACK)
 
 patch-header.o: xsys-protos.h
 
-stmp-fixproto: patch-header xsys-protos.h fixproto
+# LIBGCC2_DEPS is to make sure fixincludes has already finished.
+stmp-fixproto: patch-header xsys-protos.h fixproto $(LIBGCC2_DEPS)
        CPP="$(GCC_FOR_TARGET) -E"; export CPP; \
          ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR)
        touch stmp-fixproto