]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* Make-lang.in (g77.o): Touch lang-f77 before checking it.
authorH.J. Lu <hjl@gnu.org>
Fri, 14 Aug 1998 00:18:23 +0000 (00:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 14 Aug 1998 00:18:23 +0000 (18:18 -0600)
From-SVN: r21707

gcc/f/ChangeLog
gcc/f/Make-lang.in

index c787a8e42868c6a05c76db1cdd71e6003f1e8993..e19b2195e5ec11cca1a13c47bb82b82218754df6 100644 (file)
@@ -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  <d.love@dl.ac.uk>
 
        * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
index 7dd1fcf7c8359a811882820a9f26446fa9edbdba..4afec3e452dd5f85d7849608f7bb40d955bdf5f8 100644 (file)
@@ -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; \