summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-28 10:18:20 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-29 15:52:34 +0200
commit678a54e11c2194d1a036cb1c55f25e2b2faa4a94 (patch)
tree50dee39cc577bc6e9ea21a5c7579ffc5cc3015c6
parentbb50481b36425ae428991595bac391a1f571ded3 (diff)
lzip: use $(HOST_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/lzip/lzip.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/lzip/lzip.mk b/package/lzip/lzip.mk
index c6f054319..ecf70a37d 100644
--- a/package/lzip/lzip.mk
+++ b/package/lzip/lzip.mk
@@ -15,7 +15,7 @@ define LZIP_CONFIGURE_CMDS
endef
define HOST_LZIP_CONFIGURE_CMDS
- (cd $(@D); ./configure --prefix=/usr \
+ (cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=/usr \
$(HOST_CONFIGURE_OPTS) )
endef
@@ -24,7 +24,7 @@ define LZIP_BUILD_CMDS
endef
define HOST_LZIP_BUILD_CMDS
- $(MAKE) -C $(@D)
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define LZIP_INSTALL_TARGET_CMDS
@@ -32,7 +32,7 @@ define LZIP_INSTALL_TARGET_CMDS
endef
define HOST_LZIP_INSTALL_CMDS
- $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) install
endef
# It's not autotools-based