Skip to content

Commit

Permalink
Makefile.m32: enable -W for MinGW32 build
Browse files Browse the repository at this point in the history
The configure-based build also has this in addition to -Wall.

Closes curl#1578
  • Loading branch information
MarcelRaad committed Jun 16, 2017
1 parent 5bdf835 commit ce2cc56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/examples/Makefile.m32
Expand Up @@ -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_
Expand Down
2 changes: 1 addition & 1 deletion lib/Makefile.m32
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.m32
Expand Up @@ -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
Expand Down

0 comments on commit ce2cc56

Please sign in to comment.