X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile.libretro;h=dc5c3aa96356d50cbddf66afc26ef9afd3c32b5d;hp=8e756c9c4f9f6ea45e008a632bd856bf640b575a;hb=af32009fd9f5ea7a846b6509774bac1d4a6772ae;hpb=c7b746f050d33e3bb5b06707dcc52f8699858e40 diff --git a/Makefile.libretro b/Makefile.libretro index 8e756c9c..dc5c3aa9 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -38,8 +38,7 @@ ARCH := arm CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon HAVE_NEON = 1 -#TODO -# BUILTIN_GPU = neon + BUILTIN_GPU = neon USE_DYNAREC = 1 CFLAGS += -DIOS else ifeq ($(platform), ps3) @@ -112,3 +111,12 @@ PLUGINS = NO_CONFIG_MAK = yes include Makefile + +# workaround segfault for this file seen on: +# Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn) +libpcsxcore/new_dynarec/pcsxmem.o: libpcsxcore/new_dynarec/pcsxmem.c + $(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS) -Os + +# no special AS needed for gpu_neon +plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o: plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S + $(CC) $(CFLAGS) -c $^ -o $@