diff options
author | Joerg Koenig <jck@techsat.com> | 2017-05-31 07:29:46 (GMT) |
---|---|---|
committer | Joerg Koenig <jck@techsat.com> | 2017-05-31 07:29:46 (GMT) |
commit | bf869e3b8f080c98af049f7aca95848853412307 (patch) | |
tree | 52ed7763a5820d844044cb42cf13ed0d9f2e126c | |
parent | 6d1aacbebd299e94cbeebc45e0e0491428ac49bf (diff) | |
download | gcc-compiler-suite-bf869e3b8f080c98af049f7aca95848853412307.zip gcc-compiler-suite-bf869e3b8f080c98af049f7aca95848853412307.tar.gz gcc-compiler-suite-bf869e3b8f080c98af049f7aca95848853412307.tar.bz2 |
Fixed build of zlib for windows nativ compilerrefs/changes/92/1692/1
Change-Id: Id06e7ec5a3205b834c8cb2583a5820890d9f03e6
-rwxr-xr-x | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -550,6 +550,7 @@ wingcc-gendef: cp -f $(BUILD_DIR)/gendef/gendef.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-gendef.exe wingcc-zlib: + mkdir -p $(BUILD_DIR) cd $(BUILD_DIR) && rm -Rf zlib-$(VERSION_ZLIB) cd $(BUILD_DIR) && tar -zxf $(SOURCE_DIR)/zlib-$(VERSION_ZLIB).tar.gz cd $(BUILD_DIR)/zlib-$(VERSION_ZLIB) && patch -p1 < $(PATCHES_DIR)/zlib_ranlib.patch @@ -571,6 +572,8 @@ wingcc-zlib: cd $(BUILDDIR)/zlib-$(VERSION_ZLIB) && \ export PATH=$(PATH):$(XGCC_BINPATH) && \ CC=$(XGCC32) \ + AR=$(XGCC_BINPATH)/$(XGCC_PREFIX)ar \ + RANLIB=$(XGCC_BINPATH)/$(XGCC_PREFIX)ranlib \ ./configure \ --prefix=$(WINGCC_INST_DIR)/$(XGCC_TARGET64) --static && \ make clean && make |