summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-12-13 14:50:45 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2016-12-13 15:27:34 (GMT)
commitaa9a838364c7d60fd32eb265a88dea17a2be8324 (patch)
treeb1536a3d145992de6fa4ca63753cb41b9d544a12
parent64745304fcc143c3aab3f9420b6b18847579c63b (diff)
downloadbuildroot-aa9a838364c7d60fd32eb265a88dea17a2be8324.tar.gz
buildroot-aa9a838364c7d60fd32eb265a88dea17a2be8324.tar.bz2
zlib: use $(HOST_MAKE_ENV) when calling $(MAKE1)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/zlib/zlib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index d00ca75..53eb84e 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -48,7 +48,7 @@ define ZLIB_BUILD_CMDS
endef
define HOST_ZLIB_BUILD_CMDS
- $(MAKE1) -C $(@D)
+ $(HOST_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define ZLIB_INSTALL_STAGING_CMDS
@@ -70,7 +70,7 @@ ZLIB_POST_INSTALL_STAGING_HOOKS += ZLIB_RM_STATIC_STAGING
endif
define HOST_ZLIB_INSTALL_CMDS
- $(MAKE1) -C $(@D) LDCONFIG=true install
+ $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) LDCONFIG=true install
endef
$(eval $(generic-package))