summaryrefslogtreecommitdiff
path: root/toolchain/gmp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-02 12:08:26 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-02 12:08:26 +0100
commit0317e391cbf248c3d6ee00ec6bf8a77870d76ffa (patch)
tree772a6dbc453509a00f9f134823bd919aeb6d3901 /toolchain/gmp
parentbd12134a95a13984a94c7b89a5165abd7959c303 (diff)
parente0eeed46c0a5e068fa000abee08421a3d9342bf0 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/gmp')
-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