Add -fcommon to vita build for gcc10 compatibility

This commit is contained in:
rsn8887 2020-10-04 08:34:49 -05:00
parent c9ab41d4e5
commit 5bc6eeebee

View File

@ -268,7 +268,7 @@ else ifeq ($(platform), vita)
CXX = arm-vita-eabi-g++$(EXE_EXT)
AR = arm-vita-eabi-ar$(EXE_EXT)
COMMONFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
COMMONFLAGS += -DHAVE_STRTOUL -DVITA
COMMONFLAGS += -DHAVE_STRTOUL -DVITA -fcommon
STATIC_LINKING = 1
# Emscripten