2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
authorKelley Cook <kcook@gcc.gnu.org>
Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)
committerKelley Cook <kcook@gcc.gnu.org>
Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)
PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.

ChangeLog
Makefile.def
Makefile.in
Makefile.tpl

index 5b922848211b9f51a617f6e0fcfb5d17481dbe43..6b1ce8f228b3e6134d894967cac3f442822bef34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-01-13  Kelley Cook  <kcook@gcc.gnu.org>
+
+       PR bootstrap/18222
+       * Makefile.def: Pass CPPFLAGS_FOR_TARGET.
+       * Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
+       * Makefile.in: Regenerate.
+
 2005-01-03  Paolo Bonzini  <bonzini@gnu.org>
 
        Revert 2004-12-28 Makefile changes, a better fix will be
index 5a7f319765f079c5f917ae31be15241bb7d70019..c6d39f4fca621efd33cc3289c2228e119fe1c58e 100644 (file)
@@ -218,6 +218,7 @@ flags_to_pass = { flag= AR_FOR_TARGET ; };
 flags_to_pass = { flag= AS_FOR_TARGET ; };
 flags_to_pass = { flag= CC_FOR_TARGET ; };
 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
+flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= CXX_FOR_TARGET ; };
 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
index 45c405930a45e596399a8b1e697f0d8aaec7c564..dff7568e3e36a5f0d231442013380c16effc38bc 100644 (file)
@@ -198,7 +198,7 @@ BASE_TARGET_EXPORTS = \
        CC="$(CC_FOR_TARGET)"; export CC; \
        CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
        CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-       CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
+       CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
        CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
        GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
        GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
@@ -552,6 +552,7 @@ BASE_FLAGS_TO_PASS = \
        "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
        "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
        "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
+       "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
        "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
        "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
        "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
index 44c15fd53cc0fac0647d14907086af47329baa36..597cb80e88a2fc8b7968b28d51668bb1b105c963 100644 (file)
@@ -201,7 +201,7 @@ BASE_TARGET_EXPORTS = \
        CC="$(CC_FOR_TARGET)"; export CC; \
        CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
        CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-       CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
+       CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
        CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
        GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
        GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \