Commit 26424ba0 authored by Simon Warta's avatar Simon Warta Committed by Daniel Stenberg
Browse files

winbuild: Avoid setting redundant CFLAGS to compile commands (#949)

$(CURL_CC) is always used with $(CURL_CFLAGS) appended, so before this,
all arguments in CURL_CFLAGS have been added twice.
parent 82617e74
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -288,8 +288,6 @@ CURL_CC = $(CC)
CURL_RC_FLAGS = /i../include /dDEBUGBUILD=0 /Fo $@ $(CURL_SRC_DIR)\curl.rc
!ENDIF

CURL_CC = $(CURL_CC) $(CURL_CFLAGS)

!IF "$(AS_DLL)" == "true"

LNK       = $(LNKDLL) $(WIN_LIBS) /out:$(LIB_DIROBJ)\$(TARGET)