From de2ffa70ea5e5971b18f51d9dae6685be7f46272 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 19 Oct 1993 05:25:49 +0000 Subject: [PATCH] (stmp-fixproto): Depend on LIBGCC2_DEPS. From-SVN: r5806 --- gcc/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 6e533e203fa..60b2dc769fd 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -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 -- 2.30.2