Commit 828e5907 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Define DONT_WANT_ARM_OPTIMIZATIONS for Mac ARM64, Android, 3DS

parent 9b02adfc
......@@ -75,6 +75,9 @@ else ifeq ($(platform), osx)
CFLAGS += -DHAVE_STRL
WANT_PHYSFS=0
MMD :=
ifeq ($(shell uname -p),arm)
CFLAGS += -DDONT_WANT_ARM_OPTIMIZATIONS
endif
ifeq ($(UNIVERSAL),1)
ifeq ($(ARCHFLAGS),)
......@@ -223,6 +226,7 @@ else ifeq ($(platform), ctr)
STATIC_LINKING :=1
WANT_PHYSFS=0
MMD :=
DEFINES += -DDONT_WANT_ARM_OPTIMIZATIONS
# Nintendo Switch (libnx)
else ifeq ($(platform), libnx)
......
......@@ -6,7 +6,7 @@ WANT_LUALIB := 1
include $(CORE_DIR)/Makefile.common
COREFLAGS := -ffast-math -funroll-loops -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 -DLUA_USE_POSIX $(INCFLAGS)
COREFLAGS := -ffast-math -funroll-loops -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 -DLUA_USE_POSIX $(INCFLAGS) -DDONT_WANT_ARM_OPTIMIZATIONS
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment