summaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2015-01-09 04:36:02 +0100
committerViktor Szakats <vszakats@users.noreply.github.com>2015-01-09 21:03:54 +0100
commitb4f13a49522379f672df9ca29c43a2f6172f9607 (patch)
treef9abd6e7e9a4bcb01b9a71dffb5c04a449e2ba15 /lib/Makefile.m32
parent34636fa47e494735a5ec8b5ec7181ce6688f6f12 (diff)
downloadcurl-b4f13a49522379f672df9ca29c43a2f6172f9607.tar.gz
mingw build: allow to pass custom CFLAGS
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m324
1 files changed, 1 insertions, 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
-
-