summaryrefslogtreecommitdiff
path: root/mk/gmphost.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-18 00:56:54 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-18 00:56:54 +0200
commit7a8dd941789b2b374a2d085f40f0e0820cbe5c16 (patch)
tree9d33144e11fdd8bc33d864f9f1b0ad5b9451b750 /mk/gmphost.mk
parent4a9f82c5e24e7acd8978f3f3e72d0eb7de55aaa6 (diff)
downloadembtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.gz
embtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.bz2
embtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.xz
Convert gmphost and mpfrhost to use ccache
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/gmphost.mk')
-rw-r--r--mk/gmphost.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/gmphost.mk b/mk/gmphost.mk
index 2ce8cd1..2ef7930 100644
--- a/mk/gmphost.mk
+++ b/mk/gmphost.mk
@@ -47,8 +47,10 @@ $(GMP_HOST_BUILD_DIR)/.decompressed:
@touch $@
$(GMP_HOST_BUILD_DIR)/.configured:
+ $(call EMBTK_GENERIC_MESSAGE,"gmphost: Configuring gmp-$(GMP_HOST_VERSION) ...")
@mkdir -p $(GMP_HOST_DIR)
- @cd $(GMP_HOST_BUILD_DIR); $(TOOLS_BUILD)/gmp-$(GMP_HOST_VERSION)/configure \
- --prefix=$(GMP_HOST_DIR) --disable-shared --enable-static \
- --build=$(HOST_BUILD) --host=$(HOST_ARCH)
+ cd $(GMP_HOST_BUILD_DIR); CC=$(HOSTCC_CACHED) CXX=$(HOSTCXX_CACHED) \
+ $(TOOLS_BUILD)/gmp-$(GMP_HOST_VERSION)/configure \
+ --prefix=$(GMP_HOST_DIR) --disable-shared --enable-static \
+ --build=$(HOST_BUILD) --host=$(HOST_ARCH)
@touch $@