From 2eec85c4b36da359e51ea6f8a9d48319baa95560 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Fri, 24 Jun 2016 01:00:52 +0100 Subject: [PATCH] Fixe for makefile CC on mingw. --- src/Makefile | 1 + third_party/minizip/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index 317d1337..8752ea90 100644 --- a/src/Makefile +++ b/src/Makefile @@ -49,6 +49,7 @@ ifneq (,$(findstring MINGW, $(UNAME))) LIBXLSXWRITER_SO = libxlsxwriter.dll FPIC = CFLAGS += -Wno-long-long +CC = gcc endif # Change make options on Cygwin. diff --git a/third_party/minizip/Makefile b/third_party/minizip/Makefile index 0454024d..dfabd173 100644 --- a/third_party/minizip/Makefile +++ b/third_party/minizip/Makefile @@ -17,6 +17,7 @@ CFLAGS = -O3 -DNOCRYPT -DNOUNCRYPT # Change make options on MinGW. ifneq (,$(findstring MINGW, $(UNAME))) FPIC = +CC = gcc endif # Change make options on Cygwin.