diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-06-15 06:26:59 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2006-06-15 06:26:59 +0000 |
commit | 2a8da666a6958bb7a68339c7d25c7936842a2c73 (patch) | |
tree | 94d2bc0b48e63617c3f931843f720650b6acac62 /Makefile.tpl | |
parent | c05c5718e46d30cd08504807fcf4051c3b2af8a6 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114673 138bc75d-0d04-0410-961f-82ee72b054a4
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 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@ |