]> granicus.if.org Git - curl/commitdiff
winbuild: Avoid setting redundant CFLAGS to compile commands (#949)
authorSimon Warta <simon@kullo.net>
Mon, 8 Aug 2016 19:26:57 +0000 (21:26 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Aug 2016 19:26:57 +0000 (21:26 +0200)
$(CURL_CC) is always used with $(CURL_CFLAGS) appended, so before this,
all arguments in CURL_CFLAGS have been added twice.

winbuild/MakefileBuild.vc

index 66f11db5fdd48d88ea780f609a368f4f8300f40e..d0b4bdda1a70dd4772042cb865c8032784db7cc7 100644 (file)
@@ -288,8 +288,6 @@ CURL_CC         = $(CC)
 CURL_RC_FLAGS = /i../include /dDEBUGBUILD=0 /Fo $@ $(CURL_SRC_DIR)\curl.rc\r
 !ENDIF\r
 \r
-CURL_CC = $(CURL_CC) $(CURL_CFLAGS)\r
-\r
 !IF "$(AS_DLL)" == "true"\r
 \r
 LNK       = $(LNKDLL) $(WIN_LIBS) /out:$(LIB_DIROBJ)\$(TARGET)\r