zip: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:05:56 +0000 (13:05 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/zip/zip.mk

index d2487b714e4cdec678d07816b2a906714e8f6a4c..66d94b3c68f4090e2fe7cf13857e18ccb77c2616 100644 (file)
@@ -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