Revert "(iOS) Use GCC (not working yet)"
authortwinaphex <autechre1024@hotmail.com>
Sat, 23 Mar 2013 21:22:10 +0000 (22:22 +0100)
committertwinaphex <autechre1024@hotmail.com>
Sat, 23 Mar 2013 21:22:10 +0000 (22:22 +0100)
This reverts commit 0286c81237da184cd98afa96bf0215d0e9d2a596.

Makefile.libretro

index 435a7f7..213b409 100644 (file)
@@ -42,11 +42,10 @@ ARCH := arm
    fpic := -fPIC
    SHARED := -dynamiclib
 
-CC = $(IOSSDK)../../usr/bin/gcc
-CXX = $(IOSSDK)../../usr/bin/g++
-CFLAGS += -cpu=cortex-a8 -mfpu=neon
-ASFLAGS += -cpu=cortex-a8 -mfpu=neon
-
+CC = clang -arch armv7 -isysroot $(IOSSDK)
+CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
+CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
+ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
    HAVE_NEON = 1
    CFLAGS += -DIOS
 else ifeq ($(platform), ps3)