summaryrefslogtreecommitdiff
path: root/toolchain/gmp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-04 09:56:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-04 09:56:24 +0100
commit9f4a419ecb31241d54b0f2b244b0d159a17285c6 (patch)
tree14aaf97718e3ddd79d445358c10d29555b77cf8a /toolchain/gmp/Makefile
parent08a0809fbbc4a7ae761b3e5d9279498964638dbc (diff)
copy fsf config.guess on Cygwin and use it.
When compiling gmp under Windows XP on a 64 Bit AMD system, config.guess tries to build with ABI64 and fails. Using configfsf.guess in this case, will fix it.
Diffstat (limited to 'toolchain/gmp/Makefile')
-rw-r--r--toolchain/gmp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile
index 0e0ed0fca..ed0103ae9 100644
--- a/toolchain/gmp/Makefile
+++ b/toolchain/gmp/Makefile
@@ -12,8 +12,11 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
+ifneq (,$(filter CYGWIN%,${OStype}))
+ (cd $(WRKBUILD); cp configfsf.guess config.guess);
+endif
(cd $(WRKBUILD); \
- $(WRKBUILD)/configure \
+ ./configure \
--prefix=$(STAGING_HOST_DIR) \
--disable-shared \
--enable-static \