]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS to before override...
authorFred Fish <fnf@cygnus.com>
Fri, 21 Nov 1997 17:22:06 +0000 (17:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 21 Nov 1997 17:22:06 +0000 (10:22 -0700)
        * Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
        to before override of CC so that the override works.

From-SVN: r16643

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

index ed8230c45f67598f27283f96df52b767402e1fcf..5672447f12f5ae8907ccc4d61fba5b2508f489d9 100644 (file)
@@ -1,3 +1,8 @@
+Fri Nov 21 09:35:20 1997  Fred Fish  <fnf@cygnus.com>
+
+       * Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
+       to before override of CC so that the override works.
+
 Thu Nov 20 00:58:14 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
 
        * Make-lang.in (f77.install-info): Depend on f77.info.
index 01fa6199006309cd08417e3c560d3d9cf8340bfa..6ba634fe69804418d4d64a71489e65b5e5cd5fd1 100644 (file)
@@ -290,20 +290,22 @@ stmp-f2c.h: \
        *f77*) top=`pwd`; \
        src=`cd $(srcdir); pwd`; \
          cd f/runtime; \
+         $(F77_FLAGS_TO_PASS) \
          CC="`case '$(GCC_FOR_TARGET)' in \
             './xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
             *) echo '$(GCC_FOR_TARGET)';; esac`" \
-         $(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
+         CONFIG_SITE=/dev/null $(SHELL) \
          $${src}/f/runtime/configure --srcdir=$${src}/f/runtime ;; \
        esac
        case "$(LANGUAGES)" in \
        *f77*) top=`pwd`; \
        src=`cd $(srcdir); pwd`; \
          cd f/runtime/libU77; \
+         $(F77_FLAGS_TO_PASS) \
          CC="`case '$(GCC_FOR_TARGET)' in \
             './xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
             *) echo '$(GCC_FOR_TARGET)';; esac`" \
-         $(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
+         CONFIG_SITE=/dev/null $(SHELL) \
          $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77 ;; \
        esac
        touch stmp-f2c.h