summaryrefslogtreecommitdiffstats
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2006-06-15 06:25:23 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2006-06-15 06:25:23 +0000
commit71205cf04b3ec9a1e38f655d67bbc7baea9b0307 (patch)
tree52ef44bee6aa1485e12df56079e702ff1540bda0 /Makefile.tpl
parent4dc0c0c4e5f76c22b39976dd381e04699ab0f09d (diff)
downloadcygnal-71205cf04b3ec9a1e38f655d67bbc7baea9b0307.tar.gz
cygnal-71205cf04b3ec9a1e38f655d67bbc7baea9b0307.tar.bz2
cygnal-71205cf04b3ec9a1e38f655d67bbc7baea9b0307.zip
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 8f1a7bc6d..f5ab350ba 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@