X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=83f0902d07258f568e066070f8b3878fe48484a2;hb=ee5f7e99360c3d5fc5efec31464a02967bad7bb8;hp=f6cf55cdf95763c78c932ba429147dce54f08af5;hpb=9aee8770d2504ed14980dc47f4683bdf080310c9;p=picodrive.git diff --git a/Makefile.libretro b/Makefile.libretro index f6cf55c..83f0902 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -102,7 +102,15 @@ else ifeq ($(platform), qnx) ARCH = arm HAVE_NEON = 1 USE_DYNAREC = 1 -else ifeq ($(platform), arm) +else ifeq ($(platform), armv6) + TARGET := $(TARGET_NAME)_libretro.so + SHARED := -shared -Wl,--no-undefined + CFLAGS += -marm -mfloat-abi=softfp + ASFLAGS += -mfloat-abi=softfp + + ARCH = arm + USE_DYNAREC = 1 +else ifeq ($(platform), armv7) TARGET := $(TARGET_NAME)_libretro.so SHARED := -shared -Wl,--no-undefined CFLAGS += -marm -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp @@ -128,9 +136,3 @@ PLATFORM = libretro NO_CONFIG_MAK = yes include Makefile - -# workaround another breakage on; -# Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn) -ifeq ($(platform), ios) -pico/memory.o: CFLAGS += -O0 -endif