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

Rafaël Carré git at videolan.org
Mon Jan 23 11:01:29 CET 2012


vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 22 14:48:59 2012 -0500| [37b5994b220cb6569cb6fc62443da1ec351873db] | committer: Jean-Baptiste Kempf

contrib: extend CFLAGS when using NEON
(cherry picked from commit f78ec4aebf6e7c4b373c5889d785470b479ce39f)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 12ec427..5ef4fbf 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