summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-14 23:22:26 +0200
committerMarcel Raad <raad@teamviewer.com>2017-06-16 22:32:22 +0200
commitce2cc568f822605ae4258ec25b87b59b24c7bd19 (patch)
treed00caa37a4879d119afab499bbb9ab3f566946ed /src
parent5bdf835c0b2e558ec885ba539f6b6307c4ab9787 (diff)
downloadcurl-ce2cc568f822605ae4258ec25b87b59b24c7bd19.tar.gz
Makefile.m32: enable -W for MinGW32 build
The configure-based build also has this in addition to -Wall. Closes https://github.com/curl/curl/pull/1578
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m322
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 40852e573..315cd5cb3 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -89,7 +89,7 @@ LIBCARES_PATH = $(PROOT)/ares
endif
CC = $(CROSSPREFIX)gcc
-CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall
+CFLAGS = $(CURL_CFLAG_EXTRAS) -g -O2 -Wall -W
CFLAGS += -fno-strict-aliasing
# comment LDFLAGS below to keep debug info
LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_EXE) -s