aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2015-01-09 22:02:23 +0100
committerGuenter Knauf <lists@gknw.net>2015-01-09 22:02:23 +0100
commit4e58589b0ea6e656adf8df716dc5597e5d8a0bdf (patch)
tree80282a6d8024199f270126bf692d47b13073611b
parente6b4b4b66de17117a718c512c583cf4c1662d702 (diff)
parentb4f13a49522379f672df9ca29c43a2f6172f9607 (diff)
Merge pull request #136 from vszakats/mingw-allow-custom-cflags
mingw build: allow to pass custom CFLAGS
-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
-
-