diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-06-15 06:25:23 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2006-06-15 06:25:23 +0000 |
commit | f0e93095289d30fee21f2d3099cdf7ef019e9a0c (patch) | |
tree | 0a726d3c21cee9419f8a02c2763ed20dc6400e14 /Makefile.tpl | |
parent | 03377926759da6782fa2e7cb0364f79a7e785b3d (diff) | |
download | gdb-f0e93095289d30fee21f2d3099cdf7ef019e9a0c.tar.gz |
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.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@ |