From 9f4a419ecb31241d54b0f2b244b0d159a17285c6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 4 Jan 2011 09:56:24 +0100 Subject: 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. --- toolchain/gmp/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'toolchain/gmp/Makefile') 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 \ -- cgit v1.2.3