diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 4cae109d6f8..cd594375c1b 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 11 08:12:14 1998 H.J. Lu (hjl@gnu.org) + + * Make-lang.in (g77.o): Touch lang-f77 before checking it. + 1998-08-09 Dave Love * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in index 7dd1fcf7c83..4afec3e452d 100644 --- a/gcc/f/Make-lang.in +++ b/gcc/f/Make-lang.in @@ -93,6 +93,10 @@ g77version.o: $(srcdir)/f/version.c # to track changes to the toplevel gcc Makefile as well. # We depend on g77.c last, to make it obvious where it came from. g77.o: $(CONFIG_H) multilib.h config.status $(lang_specs_files) g77.c + case "$(LANGUAGES)" in \ + *[fF]77*) touch lang-f77;; \ + *) rm -f lang-f77;; \ + esac if [ -f lang-f77 ]; then \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(DRIVER_DEFINES) \ -DLANG_SPECIFIC_DRIVER -c g77.c; \