summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/pkg-macros/configure.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkg-macros/configure.mk b/mk/pkg-macros/configure.mk
index 0e4418e..b6f095b 100644
--- a/mk/pkg-macros/configure.mk
+++ b/mk/pkg-macros/configure.mk
@@ -129,8 +129,8 @@ define embtk_configure_hostpkg
LDFLAGS="$(__embtk_hostpkg_ldflags)" \
PKG_CONFIG="$(PKGCONFIG_BIN)" \
PKG_CONFIG_PATH="$(EMBTK_HOST_PKG_CONFIG_PATH)" \
- $(if $(call __embtk_streq,$(PKGV),CCACHE),,CC=$(HOSTCC_CACHED)) \
- $(if $(call __embtk_streq,$(PKGV),CCACHE),,CXX=$(HOSTCXX_CACHED)) \
+ $(if $(call __embtk_streq,$(PKGV),CCACHE_HOST),,CC=$(HOSTCC_CACHED)) \
+ $(if $(call __embtk_streq,$(PKGV),CCACHE_HOST),,CXX=$(HOSTCXX_CACHED)) \
CONFIG_SHELL=$(CONFIG_EMBTK_SHELL) \
$(__embtk_pkg_configureenv) \
$(CONFIG_EMBTK_SHELL) $(__embtk_pkg_srcdir)/configure \