summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-18 01:20:09 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-18 01:20:09 +0200
commit0a13d75e89acaa92ae3be86512cb77782b73db60 (patch)
tree25c4e29c64da1e7c899f48c785be11852fe8c56d /mk
parent7a8dd941789b2b374a2d085f40f0e0820cbe5c16 (diff)
downloadembtoolkit-0a13d75e89acaa92ae3be86512cb77782b73db60.tar.gz
embtoolkit-0a13d75e89acaa92ae3be86512cb77782b73db60.tar.bz2
embtoolkit-0a13d75e89acaa92ae3be86512cb77782b73db60.tar.xz
Convert bintuils to use ccache
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/binutils.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/binutils.mk b/mk/binutils.mk
index 218abff..462ca06 100644
--- a/mk/binutils.mk
+++ b/mk/binutils.mk
@@ -44,7 +44,9 @@ $(BINUTILS_BUILD_DIR)/.decompressed:
@touch $@
$(BINUTILS_BUILD_DIR)/.configured:
- @cd $(BINUTILS_BUILD_DIR); $(TOOLS_BUILD)/binutils-$(BINUTILS_VERSION)/configure \
+ $(call EMBTK_GENERIC_MESSAGE,"binutils: Configuring binutils-$(BINUTILS_VERSION) ...")
+ cd $(BINUTILS_BUILD_DIR); CC=$(HOSTCC_CACHED) CXX=$(HOSTCXX_CACHED) \
+ $(TOOLS_BUILD)/binutils-$(BINUTILS_VERSION)/configure \
--prefix=$(TOOLS) --with-sysroot=$(SYSROOT) --disable-werror --disable-nls \
--with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) --target=$(STRICT_GNU_TARGET) \
--build=$(HOST_BUILD) --host=$(HOST_ARCH)