libretro/ios: workaround clang segfault
authornotaz <notasas@gmail.com>
Sun, 31 Mar 2013 22:35:47 +0000 (01:35 +0300)
committernotaz <notasas@gmail.com>
Sun, 31 Mar 2013 22:35:47 +0000 (01:35 +0300)
Makefile.libretro

index 8e756c9..b10aa43 100644 (file)
@@ -112,3 +112,8 @@ PLUGINS =
 NO_CONFIG_MAK = yes
 
 include Makefile
 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