* Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET
authorIan Lance Taylor <ian@airs.com>
Thu, 24 Oct 1996 16:13:43 +0000 (16:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 24 Oct 1996 16:13:43 +0000 (16:13 +0000)
unconditionally.
(MAKEOVERRIDES): Define (revert this part of October 18 change).

ChangeLog
Makefile.in

index 877eb8e..bba31fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Oct 24 12:12:04 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET
+       unconditionally.
+       (MAKEOVERRIDES): Define (revert this part of October 18 change).
+
 Thu Oct 24 09:02:07 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * Makefile.in (FLAGS_TO_PASS):  Add $(HOST_FLAGS) to allow the
index dc7621b..a5a0115 100644 (file)
@@ -418,11 +418,7 @@ EXTRA_GCC_FLAGS = \
        'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
        'NM=$(NM)' \
        'RANLIB=$$(RANLIB_FOR_TARGET)' \
-       "GCC_FOR_TARGET=`if echo '$(MAKEFLAGS)' | grep CC_FOR_TARGET >/dev/null 2>&1; then \
-         echo '$$(CC_FOR_TARGET)'; \
-       else \
-         echo $(GCC_FOR_TARGET); \
-       fi`" \
+       'GCC_FOR_TARGET=$(GCC_FOR_TARGET)' \
        `if test x"$(LANGUAGES)" != x; then echo "LANGUAGES=$(LANGUAGES)"; fi` \
        `if test x"$(STMP_FIXPROTO)" != x; then echo "STMP_FIXPROTO=$(STMP_FIXPROTO)"; fi` \
        `if test x"$(LIMITS_H_TEST)" != x; then echo "LIMITS_H_TEST=$(LIMITS_H_TEST)"; fi` \
@@ -1573,6 +1569,7 @@ newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib
                DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib
 
 .NOEXPORT:
+MAKEOVERRIDES=
 
 # start-sanitize-chill
 ## This is ugly, but I don't want GNU make to put these variables in