From 941234eee96451c33c9f1091757b9efd9530d135 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 5 Oct 2024 17:55:39 +0300 Subject: [PATCH] libretro: avoid -marm where it's not needed especially on arm64 --- Makefile.libretro | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 4b466e52..743d9fce 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -190,7 +190,7 @@ endif IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif - CFLAGS += -DIOS -marm + CFLAGS += -DIOS ifeq ($(platform),ios-arm64) ARCH := arm64 BUILTIN_GPU = neon @@ -201,8 +201,8 @@ else HAVE_NEON = 1 HAVE_NEON_ASM = 1 BUILTIN_GPU = neon - CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon - ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon + CFLAGS += -marm -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon + ASFLAGS += -marm -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon endif HAVE_PHYSICAL_CDROM = 0 CC_AS = perl ./tools/gas-preprocessor.pl $(CC) @@ -521,14 +521,14 @@ else ifneq (,$(findstring armv,$(platform))) HAVE_NEON = 0 BUILTIN_GPU = peops ifneq (,$(findstring cortexa8,$(platform))) - CFLAGS += -marm -mcpu=cortex-a8 + CFLAGS += -mcpu=cortex-a8 ASFLAGS += -mcpu=cortex-a8 else ifneq (,$(findstring cortexa7,$(platform))) - CFLAGS += -marm -mcpu=cortex-a7 + CFLAGS += -mcpu=cortex-a7 ASFLAGS += -mcpu=cortex-a7 LIBZ := else ifneq (,$(findstring cortexa9,$(platform))) - CFLAGS += -marm -mcpu=cortex-a9 + CFLAGS += -mcpu=cortex-a9 ASFLAGS += -mcpu=cortex-a9 endif CFLAGS += -marm -- 2.39.5