Makefile.m32: Improve windres parameter compatibility

- s/COFF/coff/

Some versions of windres do not recognize uppercase COFF as a valid
way to specify the COFF output format.

Reported-by: Steven Penny

Fixes https://github.com/curl/curl/issues/5099
Closes https://github.com/curl/curl/pull/5101
This commit is contained in:
Jay Satiro 2020-03-14 02:51:33 -04:00
parent 3bfda07004
commit 67f3f6cff1
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ CFLAGS += -fno-strict-aliasing
# comment LDFLAGS below to keep debug info
LDFLAGS = $(CURL_LDFLAG_EXTRAS) $(CURL_LDFLAG_EXTRAS_EXE) -s
RC = $(CROSSPREFIX)windres
RCFLAGS = --include-dir=$(PROOT)/include -O COFF
RCFLAGS = --include-dir=$(PROOT)/include -O coff
# Set environment var ARCH to your architecture to override autodetection.
ifndef ARCH