summaryrefslogtreecommitdiff
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
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
-rw-r--r--docs/examples/Makefile.m322
-rw-r--r--lib/Makefile.m322
-rw-r--r--src/Makefile.m322
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/Makefile.m32 b/docs/examples/Makefile.m32
index e75b6d130..5fbc5d66c 100644
--- a/docs/examples/Makefile.m32
+++ b/docs/examples/Makefile.m32
@@ -84,7 +84,7 @@ endif
endif
CC = $(CROSSPREFIX)gcc
-CFLAGS = -g -O2 -Wall
+CFLAGS = -g -O2 -Wall -W
CFLAGS += -fno-strict-aliasing
ifeq ($(ARCH),w64)
CFLAGS += -m64 -D_AMD64_
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 93bc18824..8e4c70333 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -77,7 +77,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_DLL) -s
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