package/zstd: disable ccache for host package
We need to disable ccache when building host-zstd as the upcoming ccache update depends on host-zstd. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [yann.morin.1998@free.fr: introduce HOST_ZSTD_ENV] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
359205b4f5
commit
9fba87b8d7
@ -96,14 +96,18 @@ define ZSTD_INSTALL_TARGET_CMDS
|
||||
endef
|
||||
|
||||
HOST_ZSTD_OPTS += PREFIX=$(HOST_DIR)
|
||||
HOST_ZSTD_ENV = $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS)
|
||||
|
||||
# We are a ccache dependency, so we can't use ccache
|
||||
HOST_ZSTD_ENV += CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)"
|
||||
|
||||
define HOST_ZSTD_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||
$(HOST_ZSTD_ENV) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||
-C $(@D) zstd-release lib-release
|
||||
endef
|
||||
|
||||
define HOST_ZSTD_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||
$(HOST_ZSTD_ENV) $(MAKE) $(HOST_ZSTD_OPTS) \
|
||||
-C $(@D) install
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user