Skip to content

Commit

Permalink
mingw build: allow to pass custom CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 9, 2015
1 parent 34636fa commit b4f13a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Makefile.m32
Expand Up @@ -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
Expand Down Expand Up @@ -323,5 +323,3 @@ $(PROOT)/include/curl/curlbuild.h:

$(LIBCARES_PATH)/libcares.a:
$(MAKE) -C $(LIBCARES_PATH) -f Makefile.m32


0 comments on commit b4f13a4

Please sign in to comment.