summaryrefslogtreecommitdiff
path: root/toolchain/gmp
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gmp')
-rw-r--r--toolchain/gmp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index ed0103ae9..c96ad76b2 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -12,15 +12,19 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
+# for cygwin and ubunto on amd64
ifneq (,$(filter CYGWIN%,${OStype}))
- (cd $(WRKBUILD); cp configfsf.guess config.guess);
+ (cd $(WRKBUILD); cp configfsf.guess config.guess)
+endif
+ifeq (${OStype},Linux)
+ (cd $(WRKBUILD); cp configfsf.guess config.guess)
endif
(cd $(WRKBUILD); \
./configure \
--prefix=$(STAGING_HOST_DIR) \
--disable-shared \
--enable-static \
- );
+ )
touch $@
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured