summaryrefslogtreecommitdiff
path: root/toolchain/gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gmp/Makefile')
-rw-r--r--toolchain/gmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index 33982ed17..692216b97 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -15,7 +15,7 @@ $(WRKBUILD)/.configured:
ifneq ($(OStype),Darwin)
(cd $(WRKBUILD); cp configfsf.guess config.guess)
endif
- (cd $(WRKBUILD); \
+ (cd $(WRKBUILD); PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \
./configure \
--prefix=$(STAGING_HOST_DIR) \
--with-pic \
@@ -25,7 +25,7 @@ endif
touch $@
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
- $(MAKE) ${GMP_MAKEOPTS} -C $(WRKBUILD) all
+ env PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" $(MAKE) ${GMP_MAKEOPTS} -C $(WRKBUILD) all
touch $@
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled