فهرست منبع

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 سال پیش
والد
کامیت
9f4a419ecb
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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 \