asm_render = 0
asm_ym2612 = 0
asm_misc = 0
-asm_cdpico = 0
asm_cdmemory = 0
asm_mix = 0
TARGET := $(TARGET_NAME)_libretro_ios.dylib
SHARED := -dynamiclib
- CC = clang -arch armv7 -isysroot $(IOSSDK)
- CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
- CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
- CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm
+ CC = clang -arch armv7 -isysroot $(IOSSDK) -miphoneos-version-min=5.0
+ CXX = clang++ -arch armv7 -isysroot $(IOSSDK) -miphoneos-version-min=5.0
+ CC_AS = perl ./tools/gas-preprocessor.pl $(CC) -miphoneos-version-min=5.0
+ CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm
ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
- CFLAGS += -DIOS
+ CFLAGS += -DIOS -miphoneos-version-min=5.0
ARCH := arm
- HAVE_NEON = 0
- USE_DYNAREC = 0
- use_fame = 1
- use_cz80 = 1
- use_sh2mame = 1
use_cyclone = 0
+ use_fame = 1
use_drz80 = 0
+ use_cz80 = 1
use_sh2drc = 1
use_svpdrc = 1
ASFLAGS += -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
ARCH = arm
- HAVE_NEON = 1
ARM_ASM = 1
- USE_DYNAREC = 1
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared -Wl,--no-undefined
ifneq (,$(findstring neon,$(platform)))
CFLAGS += -mfpu=neon
ASFLAGS += -mfpu=neon
- HAVE_NEON = 1
endif
ifneq (,$(findstring softfloat,$(platform)))
CFLAGS += -mfloat-abi=softfp
ARM_ASM = 1
endif
ARCH = arm
- USE_DYNAREC = 1
else
- TARGET := $(TARGET_NAME)_retro.dll
+ TARGET := $(TARGET_NAME)_libretro.dll
CC = gcc
LD_FLAGS := -fPIC
SHARED := -shared -static-libgcc -static-libstdc++
asm_render = 1
asm_ym2612 = 1
asm_misc = 1
-asm_cdpico = 1
asm_cdmemory = 1
asm_mix = 1
-fi
+endif
CFLAGS += -fPIC
LDLIBS += -lm