summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.in4
-rw-r--r--Makefile.tpl4
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 70a0978d91b..661380ac4dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-15 Paolo Bonzini <bonzini@gnu.org>
+
+ * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS
+ too.
+ * Makefile.in: Regenerate.
+
2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
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 <dan@codesourcery.com>
* Makefile.def: Added dependencies from sim and gdb on intl, and
diff --git a/Makefile.in b/Makefile.in
index 2cbfbdb9122..432f03dd16a 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 8f1a7bc6d3a..f5ab350bad6 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@