summaryrefslogtreecommitdiffstats
path: root/package/make
diff options
context:
space:
mode:
Diffstat (limited to 'package/make')
-rw-r--r--package/make/make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/make/make.mk b/package/make/make.mk
index 4b84adf2a..cd0b5b2a7 100644
--- a/package/make/make.mk
+++ b/package/make/make.mk
@@ -49,7 +49,7 @@ $(GNUMAKE_DIR)/.configured: $(GNUMAKE_DIR)/.unpacked
touch $@
$(GNUMAKE_DIR)/$(GNUMAKE_BINARY): $(GNUMAKE_DIR)/.configured
- $(MAKE) -C $(GNUMAKE_DIR)
+ $(MAKE) MAKE=$(HOSTMAKE) -C $(GNUMAKE_DIR)
$(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY): $(GNUMAKE_DIR)/$(GNUMAKE_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GNUMAKE_DIR) install