summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lua/lua.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index a7c2ef7293..131b88d042 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -75,7 +75,7 @@ define LUA_BUILD_CMDS
endef
define HOST_LUA_BUILD_CMDS
- $(MAKE) \
+ $(HOST_MAKE_ENV) $(MAKE) \
CFLAGS="$(HOST_LUA_CFLAGS)" \
MYLDFLAGS="$(HOST_LDFLAGS)" \
MYLIBS="$(HOST_LUA_MYLIBS)" \
@@ -94,7 +94,7 @@ define LUA_INSTALL_TARGET_CMDS
endef
define HOST_LUA_INSTALL_CMDS
- $(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install
+ $(HOST_MAKE_ENV) $(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install
$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
$(HOST_DIR)/usr/lib/pkgconfig/lua.pc
endef
OpenPOWER on IntegriCloud