From abe86d525eb6ccb9f9494b14b96fdb195a5159cc Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 15 Jun 2006 06:25:23 +0000 Subject: [PATCH] 2006-06-15 Paolo Bonzini * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate. --- ChangeLog | 7 +++++++ Makefile.in | 4 +++- Makefile.tpl | 4 +++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70a0978d9..661380ac4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-15 Paolo Bonzini + + * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS + too. + * Makefile.in: Regenerate. + 2006-06-13 John David Anglin Sync from gcc: @@ -77,6 +83,7 @@ * config-ml.in: Alter CCASFLAGS to include special multilib options the same as is done for CFLAGS. +>>>>>>> 1.659 2006-05-31 Daniel Jacobowitz * Makefile.def: Added dependencies from sim and gdb on intl, and diff --git a/Makefile.in b/Makefile.in index 2cbfbdb91..432f03dd1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -177,7 +177,9 @@ POSTSTAGE1_HOST_EXPORTS = \ CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \ $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ \ - -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; + -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \ + CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \ + LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS; # Target libraries are put under this directory: TARGET_SUBDIR = @target_subdir@ diff --git a/Makefile.tpl b/Makefile.tpl index 8f1a7bc6d..f5ab350ba 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -180,7 +180,9 @@ POSTSTAGE1_HOST_EXPORTS = \ CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \ $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ \ - -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; + -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \ + CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \ + LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS; # Target libraries are put under this directory: TARGET_SUBDIR = @target_subdir@ -- 2.11.4.GIT