mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-30 08:23:42 +02:00
util/ich_descriptors_tool: Use GNU-style printf in MinGW
This allows MinGW targets to use certain printf formatting identifiers such as "%v" by adding -D__USE_MINGW_ANSI_STDIO=1 to the CFLAGS. This is also done in flashrom's top-level Makefile. Reported on https://github.com/flashrom/flashrom/issues/149 Change-Id: I644be8b5b607cc77b4be2121c443f0d41d8da687 Signed-off-by: David Hendricks <david.hendricks@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/43052 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
98b537befd
commit
24495cd46e
@ -41,6 +41,10 @@ EXEC_SUFFIX := .exe
|
|||||||
CFLAGS += -Wno-format
|
CFLAGS += -Wno-format
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_OS), MinGW)
|
||||||
|
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(WARNERROR), yes)
|
ifeq ($(WARNERROR), yes)
|
||||||
CFLAGS += -Werror
|
CFLAGS += -Werror
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user