[vlc-commits] contrib: extend CFLAGS when using NEON

Rafaël Carré git at videolan.org
Mon Jan 23 03:41:02 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 14:48:59 2012 -0500| [f78ec4aebf6e7c4b373c5889d785470b479ce39f] | committer: Rafaël Carré

contrib: extend CFLAGS when using NEON

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

 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 fc4c5a9..b810887 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -100,7 +100,7 @@ CXX := $(HOST)-g++ --sysroot=$(ANDROID_NDK)/platforms/android-9/arch-arm
 EXTRA_CFLAGS += -D__STDC_VERSION__=199901L
 EXTRA_CFLAGS += -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/include
 ifdef HAVE_NEON
-    EXTRA_CFLAGS += -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
+    EXTRA_CFLAGS += -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a8
 else
     EXTRA_CFLAGS += -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include
 endif



More information about the vlc-commits mailing list