aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 435a7f7..213b409 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -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)