Fix build warnings

This commit is contained in:
jdgleaver 2019-07-16 11:00:59 +01:00 committed by hunterk
parent c0205338d8
commit 28cfaefd0e
1 changed files with 2 additions and 2 deletions

View File

@ -590,13 +590,13 @@ else ifneq (,$(findstring msvc,$(platform)))
WARNINGS_DEFINES =
CODE_DEFINES =
else
WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter
WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter -Wno-missing-field-initializers
CODE_DEFINES = -fomit-frame-pointer
endif
CXXFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic)
CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK
CFLAGS = $(CXXFLAGS)
CFLAGS := $(CXXFLAGS)
CFLAGS += -DHAVE_STDINT_H
CXXFLAGS += -DHAVE_STDINT_H
ifeq (,$(findstring msvc,$(platform)))