]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Makefile.m32: do not set the libcurl.rc debug flag [ci skip]
authorViktor Szakats <commit@vsz.me>
Thu, 30 Jun 2022 08:14:29 +0000 (08:14 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 30 Jun 2022 08:14:29 +0000 (08:14 +0000)
Delete `-DDEBUGBUILD=0` windres option. This was likely meant to
disable VS_FF_DEBUG in FILEFLAGS, but any assigned value enabled
it instead. Delete this unnecessary option and thus sync up with
how CMake compiles libcurl.rc by default.

Reviewed-by: Jay Satiro
Closes #9069

lib/Makefile.m32

index 1987b237e5d4e3d98402c853b43491ad65b3c816..bf8d1b400a1ea85ffa9e3c14277d87ab4348bcdc 100644 (file)
@@ -115,7 +115,7 @@ LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_DLL)
 AR = $(CURL_AR)
 RANLIB = $(CURL_RANLIB)
 RC = $(CROSSPREFIX)windres
-RCFLAGS = --include-dir=$(PROOT)/include -DDEBUGBUILD=0 -O coff
+RCFLAGS = --include-dir=$(PROOT)/include -O coff
 STRIP   = $(CROSSPREFIX)strip -g
 
 # Set environment var ARCH to your architecture to override autodetection.