diff options
author | Kelley Cook <kcook@gcc.gnu.org> | 2005-01-19 00:33:04 +0000 |
---|---|---|
committer | Kelley Cook <kcook@gcc.gnu.org> | 2005-01-19 00:33:04 +0000 |
commit | 06bcb89d293d63d9724cc6b29fe3910a08dabbae (patch) | |
tree | 03fd1c704254b35c562d86308cf376bdeb6c406a | |
parent | 7ace0f3feec24c2740b639c1469f814735d959f3 (diff) | |
download | fsf-binutils-gdb-06bcb89d293d63d9724cc6b29fe3910a08dabbae.zip fsf-binutils-gdb-06bcb89d293d63d9724cc6b29fe3910a08dabbae.tar.gz fsf-binutils-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.def | 1 | ||||
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | Makefile.tpl | 2 |
4 files changed, 11 insertions, 2 deletions
@@ -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; \ |