[Vita] workaround multiple symbols
authorFrancisco José García García <frangarcj@gmail.com>
Wed, 5 Aug 2020 21:24:21 +0000 (23:24 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 21:24:21 +0000 (23:24 +0200)
Makefile.libretro

index 8f48a32..79732b1 100644 (file)
@@ -185,7 +185,7 @@ else ifeq ($(platform), vita)
        CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm
        CFLAGS += -fsingle-precision-constant -mword-relocations -fno-unwind-tables
        CFLAGS += -fno-asynchronous-unwind-tables -ftree-vectorize -funroll-loops
-       CFLAGS += -fno-optimize-sibling-calls
+       CFLAGS += -fno-optimize-sibling-calls -fcommon
        CFLAGS += -I$(VITASDK)/include -Ifrontend/vita
        CFLAGS += -DNO_SOCKET -DNO_OS -DNO_DYLIB
        ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon