From: Gustavo Zacarias Date: Tue, 13 Dec 2016 14:50:44 +0000 (-0300) Subject: zlib: use $(TARGET_MAKE_ENV) when calling $(MAKE1) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64745304fcc143c3aab3f9420b6b18847579c63b;p=buildroot.git zlib: use $(TARGET_MAKE_ENV) when calling $(MAKE1) Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index aec9daf6fe..d00ca75c03 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -44,7 +44,7 @@ define HOST_ZLIB_CONFIGURE_CMDS endef define ZLIB_BUILD_CMDS - $(MAKE1) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) endef define HOST_ZLIB_BUILD_CMDS @@ -52,11 +52,11 @@ define HOST_ZLIB_BUILD_CMDS endef define ZLIB_INSTALL_STAGING_CMDS - $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install endef define ZLIB_INSTALL_TARGET_CMDS - $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install endef # We don't care removing the .a from target, since it not used at link