foxygit / fake-08-xbox360 Log in
commit 1587dc62d91eeae5b20299dd59c30c816135ef5a
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sat Sep 17 09:13:35 2022 -0600
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sat Sep 17 09:13:35 2022 -0600

    Remove compiler flags to match standalone mm build
---
 platform/libretro/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/platform/libretro/Makefile b/platform/libretro/Makefile
index ac54def..cf69ebc 100644
--- a/platform/libretro/Makefile
+++ b/platform/libretro/Makefile
@@ -121,7 +121,7 @@ else ifeq ($(platform), miyoomini)
    AR = arm-linux-gnueabihf-ar
    STRIP = arm-linux-gnueabihf-strip
    CXXFLAGS += -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7ve
-   fpic := -fPIC
+#   fpic := -fPIC
    SHARED := -shared -Wl,--version-script=link.T
 else
    CC = gcc
@@ -145,8 +145,8 @@ CC = $(CXX)

 OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_CXX:.cpp=.o)

-CFLAGS   += $(fpic) -Wall -D__LIBRETRO__ -Wno-deprecated -ffunction-sections -std=c++17 -fno-rtti $(INCFLAGS)
-CXXFLAGS += $(fpic) -Wall -D__LIBRETRO__ -Wno-deprecated -ffunction-sections -std=c++17 -fno-rtti -fno-exceptions $(INCFLAGS)
+CFLAGS   += $(fpic) -Wall -D__LIBRETRO__ -ffunction-sections -std=gnu++17 -fno-rtti $(INCFLAGS)
+CXXFLAGS += $(fpic) -Wall -D__LIBRETRO__ -ffunction-sections -std=gnu++17 -fno-rtti $(INCFLAGS)

 all: $(TARGET)