Commit 023b2050 authored by jet082's avatar jet082
Browse files

fix for iOS, update to new libretro-common audio stuff

parent c0b58207
......@@ -32,6 +32,12 @@ $(TARGET): $(OBJECTS) | vendor/libretro-common/include/libretro.h
clean:
rm -f $(TARGET) $(OBJECTS)
git clean -xdf
rm -rf vendor
git reset --hard HEAD
git submodule update -f --init --recursive
git submodule foreach --recursive git clean -xfd
git submodule foreach --recursive git reset --hard HEAD
vendor/libretro-common/include/libretro.h:
@git submodule update --init --recursive
......
......@@ -102,7 +102,8 @@ else ifneq (,$(findstring ios,$(platform)))
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
ifeq ($(platform),ios-arm64)
CC = cc -DDONT_WANT_ARM_OPTIMIZATIONS -arch arm64 -isysroot -DHAVE_POSIX_MEMALIGN $(IOSSDK)
CC = cc -arch arm64 -isysroot -DHAVE_POSIX_MEMALIGN $(IOSSDK)
CFLAGS += -DDONT_WANT_ARM_OPTIMIZATIONS
HAVE_NEON = 0
else
CC = cc -arch armv7 -isysroot $(IOSSDK)
......@@ -615,7 +616,6 @@ endif
ifeq ($(platform), ios-arm64)
LDFLAGS += -framework IOKit -framework Foundation
FLAGS += -D__MACH__ -D__APPLE__ -DPHYSFS_PLATFORM_APPLE
FLAGS += -DWANT_NEON=0 -D__ARM_NEON__=0
FLAGS += -DCHAILOVE_DISABLE_LOVE_SYSTEM_EXECUTE
SOURCES_M += $(CORE_DIR)/vendor/didstopia-physfs/src/physfs_platform_apple.m
endif
......
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