libretro/ios: workaround clang segfault
[pcsx_rearmed.git] / Makefile.libretro
index 8e756c9..b10aa43 100644 (file)
@@ -112,3 +112,8 @@ 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