summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-12-13 14:50:44 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2016-12-13 15:27:30 (GMT)
commit64745304fcc143c3aab3f9420b6b18847579c63b (patch)
tree8fcd135509eefab307550d943b413005261d2b3e
parent9441f92bdd9a6b67989384193920a495492b7c95 (diff)
downloadbuildroot-64745304fcc143c3aab3f9420b6b18847579c63b.tar.gz
buildroot-64745304fcc143c3aab3f9420b6b18847579c63b.tar.bz2
zlib: use $(TARGET_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.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index aec9daf..d00ca75 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