suppress some warnings when compiling with mingw-gcc

[skip ci]
This commit is contained in:
Steffen Jaeckel 2017-10-10 14:30:01 +02:00
parent d1fc4a71d3
commit a40e32b21c

View File

@ -60,6 +60,9 @@ endif # COMPILE_DEBUG
ifneq ($(findstring clang,$(CC)),) ifneq ($(findstring clang,$(CC)),)
CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header
endif endif
ifneq ($(findstring mingw,$(CC)),)
CFLAGS += -Wno-shadow
endif
ifeq ($(PLATFORM), Darwin) ifeq ($(PLATFORM), Darwin)
CFLAGS += -Wno-nullability-completeness CFLAGS += -Wno-nullability-completeness
endif endif