diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-06-15 06:26:59 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2006-06-15 06:26:59 +0000 |
commit | ec6c73926468e6de525d3be6810508990959c2b8 (patch) | |
tree | 94d2bc0b48e63617c3f931843f720650b6acac62 /Makefile.tpl | |
parent | e6bd55657aa22a960174d604e2b363e7600d7aff (diff) | |
download | gcc-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.tpl | 4 |
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@ |