X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=96e4fe91e459e57f6812a519021d05b7002a5801;hb=341af486f5620570dd21519a811f79a1c51bd5c3;hp=1c7207c30475f642a9ed84f739a623fc1af539f0;hpb=34e7fb0ba59c846fc483fd8340884641f4390252;p=picodrive.git diff --git a/Makefile.libretro b/Makefile.libretro index 1c7207c..96e4fe9 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -39,22 +39,19 @@ else ifeq ($(platform), ios) 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 @@ -101,9 +98,7 @@ else ifeq ($(platform), qnx) 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 @@ -118,7 +113,6 @@ endif ifneq (,$(findstring neon,$(platform))) CFLAGS += -mfpu=neon ASFLAGS += -mfpu=neon - HAVE_NEON = 1 endif ifneq (,$(findstring softfloat,$(platform))) CFLAGS += -mfloat-abi=softfp @@ -131,9 +125,8 @@ ifneq (,$(findstring armasm,$(platform))) 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++