[vlc-commits] contrib: add the correct -mcpu flag when compiling for iOS on ARM

Felix Paul Kühne git at videolan.org
Tue Mar 27 16:38:46 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar 25 11:56:00 2012 +0200| [0f4ce7312ee2b31a4eed6b7822d14efff54dc4b8] | committer: Felix Paul Kühne

contrib: add the correct -mcpu flag when compiling for iOS on ARM

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f4ce7312ee2b31a4eed6b7822d14efff54dc4b8
---

 contrib/src/main.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index b911491..4035436 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -160,7 +160,7 @@ LD=xcrun ld
 STRIP=xcrun strip
 RANLIB=xcrun ranlib
 ifeq ($(ARCH), arm)
-EXTRA_CFLAGS += -arch armv7 -mno-thumb
+EXTRA_CFLAGS += -arch armv7 -mno-thumb -mcpu=cortex-a8
 EXTRA_LDFLAGS += -arch armv7
 else
 EXTRA_CFLAGS += -m32



More information about the vlc-commits mailing list