aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2006-06-15 06:26:59 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2006-06-15 06:26:59 +0000
commitec6c73926468e6de525d3be6810508990959c2b8 (patch)
tree94d2bc0b48e63617c3f931843f720650b6acac62 /Makefile.tpl
parente6bd55657aa22a960174d604e2b363e7600d7aff (diff)
downloadgcc-ec6c73926468e6de525d3be6810508990959c2b8.zip
gcc-ec6c73926468e6de525d3be6810508990959c2b8.tar.gz
gcc-ec6c73926468e6de525d3be6810508990959c2b8.tar.bz2
Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too.
2006-06-15 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate. gcc: 2006-06-15 Paolo Bonzini <bonzini@gnu.org> * configure.ac (CFLAGS): Get them from the toplevel or from the configure invocation. * configure: Regenerate. * Makefile.in (CFLAGS): Substitute value provided by configure. From-SVN: r114673
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@