aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2006-06-15 06:25:23 +0000
committerPaolo Bonzini <bonzini@gnu.org>2006-06-15 06:25:23 +0000
commitcaee866aace2a8f24c64b03cdfaa8b0eaf6fba1d (patch)
tree23ff2c893e3bca07c3029931d41987e0ddda0e86 /Makefile.tpl
parent0de5965e0037859a5d49401be295801061bcbbee (diff)
downloadfsf-binutils-gdb-caee866aace2a8f24c64b03cdfaa8b0eaf6fba1d.zip
fsf-binutils-gdb-caee866aace2a8f24c64b03cdfaa8b0eaf6fba1d.tar.gz
fsf-binutils-gdb-caee866aace2a8f24c64b03cdfaa8b0eaf6fba1d.tar.bz2
2006-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 8f1a7bc..f5ab350 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@