aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Cook <kcook@gcc.gnu.org>2005-01-19 00:33:04 +0000
committerKelley Cook <kcook@gcc.gnu.org>2005-01-19 00:33:04 +0000
commit06bcb89d293d63d9724cc6b29fe3910a08dabbae (patch)
tree03fd1c704254b35c562d86308cf376bdeb6c406a
parent7ace0f3feec24c2740b639c1469f814735d959f3 (diff)
downloadgdb-06bcb89d293d63d9724cc6b29fe3910a08dabbae.zip
gdb-06bcb89d293d63d9724cc6b29fe3910a08dabbae.tar.gz
gdb-06bcb89d293d63d9724cc6b29fe3910a08dabbae.tar.bz2
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.
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.def1
-rw-r--r--Makefile.in3
-rw-r--r--Makefile.tpl2
4 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b92284..6b1ce8f 100644
--- 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
diff --git a/Makefile.def b/Makefile.def
index 5a7f319..c6d39f4 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -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 ; };
diff --git a/Makefile.in b/Makefile.in
index 45c4059..dff7568 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)" \
diff --git a/Makefile.tpl b/Makefile.tpl
index 44c15fd..597cb80 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -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; \