From: Gustavo Zacarias Date: Mon, 17 Oct 2016 16:05:56 +0000 (-0300) Subject: zip: use $(HOST_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e2c37221c12409cfaac82b6a8b3a1c1b375a58b;p=buildroot.git zip: use $(HOST_MAKE_ENV) when calling $(MAKE) Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/zip/zip.mk b/package/zip/zip.mk index d2487b714e..66d94b3c68 100644 --- a/package/zip/zip.mk +++ b/package/zip/zip.mk @@ -39,14 +39,14 @@ define ZIP_INSTALL_TARGET_CMDS endef define HOST_ZIP_BUILD_CMDS - $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \ + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \ CFLAGS="$(HOST_CFLAGS) $(ZIP_CFLAGS)" \ AS="$(HOSTCC) -c" \ -f unix/Makefile generic endef define HOST_ZIP_INSTALL_CMDS - $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \ + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \ prefix=$(HOST_DIR)/usr endef