OSDN Git Service

* Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Nov 1997 17:21:34 +0000 (17:21 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Nov 1997 17:21:34 +0000 (17:21 +0000)
        to before override of CC so that the override works.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16642 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ed8230c..5672447 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 1e253cc..4ffda20 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