소스 검색

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 \