This commit is contained in:
mahoneyt944 2021-01-06 06:56:03 -05:00 committed by GitHub
parent 5664ae652c
commit a5783ee172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -684,7 +684,7 @@ endif
# explictly use -fsigned-char on all platforms to solve problems with code written/tested on x86 but used on ARM
# for example, audio on rtype leo is wrong on ARM without this flag
ifeq (,$(findstring msvc,$(platform)))
CFLAGS += -fsigned-char
CFLAGS += -fsigned-char
endif
# Use position-independent code for all platforms
@ -696,13 +696,13 @@ RETRO_PROFILE = 0
CFLAGS += -DRETRO_PROFILE=$(RETRO_PROFILE)
ifneq ($(platform), sncps3)
ifeq (,$(findstring msvc,$(platform)))
CFLAGS += -Wall -Wunused \
ifeq (,$(findstring msvc,$(platform)))
CFLAGS += -Wall -Wunused \
-Wpointer-arith -Wbad-function-cast -Wcast-align -Waggregate-return \
-Wshadow -Wstrict-prototypes \
-Wformat-security -Wwrite-strings \
-Wdisabled-optimization
endif
endif
endif
ifeq (,$(findstring msvc,$(platform)))