lzip: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Fri, 28 Oct 2016 13:18:20 +0000 (10:18 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:52:34 +0000 (15:52 +0200)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lzip/lzip.mk

index c6f054319bc62a3b5ac26bf671a9cd5176a6d46a..ecf70a37df763fbc7ab64e69b9e44b391cc340c9 100644 (file)
@@ -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