[committed] Add an explicit dependency on fixinc_list

Richard Sandiford richard@codesourcery.com
Fri Sep 14 15:16:00 GMT 2007

stmp-int-hdrs has this dependency:

    stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H)

and uses the file fixinc_list.  The dependency on fixinc_list is usually
added indirectly by $(STMP_FIXINC) -> stmp_fixinc -> fixinc_list, but
this falls down if the target overrides STMP_FIXINC with something else.
Since the use of fixinc_list is explicit in the stmp-int-hdrs commands,
it seems reasonable for it to have an explicit dependency too.

Tested on mipsisa64-elf and a port that I'm about to commit.
Installed as obvious.


	* Makefile.in (stmp-int-hdrs): Depend on fixinc_list.

Index: gcc/Makefile.in
--- gcc/Makefile.in	(revision 128492)
+++ gcc/Makefile.in	(working copy)
@@ -3364,7 +3364,7 @@ gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(
 # be rebuilt.
 # Build the include directories.
-stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H)
+stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
 # Copy in the headers provided with gcc.
 # The sed command gets just the last file name component;
 # this is necessary because VPATH could add a dirname.

More information about the Gcc-patches mailing list