aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2013-03-23 22:22:10 +0100
committertwinaphex2013-03-23 22:22:10 +0100
commitab82eb7dd3824b66d5cd143141e861403e373308 (patch)
tree490bddb4ee83363af8792364c9c9494ff19dbe5f
parent0286c81237da184cd98afa96bf0215d0e9d2a596 (diff)
downloadpcsx_rearmed-ab82eb7dd3824b66d5cd143141e861403e373308.tar.gz
pcsx_rearmed-ab82eb7dd3824b66d5cd143141e861403e373308.tar.bz2
pcsx_rearmed-ab82eb7dd3824b66d5cd143141e861403e373308.zip
Revert "(iOS) Use GCC (not working yet)"
This reverts commit 0286c81237da184cd98afa96bf0215d0e9d2a596.
-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)