From b4f13a49522379f672df9ca29c43a2f6172f9607 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 9 Jan 2015 04:36:02 +0100 Subject: [PATCH] mingw build: allow to pass custom CFLAGS --- lib/Makefile.m32 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index f3673c5a3..cc3ecf909 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -55,7 +55,7 @@ LIBCARES_PATH = $(PROOT)/ares endif CC = $(CROSSPREFIX)gcc -CFLAGS = -g -O2 -Wall +CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall CFLAGS += -fno-strict-aliasing # comment LDFLAGS below to keep debug info LDFLAGS = -s @@ -323,5 +323,3 @@ $(PROOT)/include/curl/curlbuild.h: $(LIBCARES_PATH)/libcares.a: $(MAKE) -C $(LIBCARES_PATH) -f Makefile.m32 - -