From: Gustavo Zacarias Date: Mon, 17 Oct 2016 16:05:55 +0000 (-0300) Subject: zip: use $(TARGET_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7073047608f6bbd9cc6047d136abd0a3ed010af2;p=buildroot.git zip: use $(TARGET_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 5338f88166..d2487b714e 100644 --- a/package/zip/zip.mk +++ b/package/zip/zip.mk @@ -27,14 +27,14 @@ ZIP_TARGET_CFLAGS = \ $(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS)) define ZIP_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ CFLAGS="$(ZIP_TARGET_CFLAGS) $(ZIP_CFLAGS)" \ AS="$(TARGET_CC) -c" \ -f unix/Makefile generic endef define ZIP_INSTALL_TARGET_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \ + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \ prefix=$(TARGET_DIR)/usr endef