Prechádzať zdrojové kódy

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.
Waldemar Brodkorb 13 rokov pred
rodič
commit
9f4a419ecb
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      toolchain/gmp/Makefile

+ 4 - 1
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 \