[vlc-commits] Android configure: actually use NEON in NEON build

Jean-Baptiste Kempf git at videolan.org
Thu Sep 1 02:12:49 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep  1 02:12:25 2011 +0200| [54bfce03bbcc85369e5f775206921b91ce3db91b] | committer: Jean-Baptiste Kempf

Android configure: actually use NEON in NEON build

Oops :D

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

 extras/package/android/configure.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/package/android/configure.sh b/extras/package/android/configure.sh
index c06dd9b..c638baf 100755
--- a/extras/package/android/configure.sh
+++ b/extras/package/android/configure.sh
@@ -17,9 +17,9 @@ LDFLAGS="-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
 
 if [ -z "$NO_NEON" ]; then
     CXX_TARGET="armeabi-v7a"
-    CFLAGS="$CFLAGS -mfpu=neon -mtune=cortex-a8 -ftree-vectorize -mvectorize-with-neon-quad"
+    CFLAGS="$CFLAGS -mfpu=neon -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -ftree-vectorize -mvectorize-with-neon-quad -funsafe-math-optimizations"
     LDFLAGS="$LDFLAGS -Wl,--fix-cortex-a8"
-    EXTRA_PARAMS=""
+    EXTRA_PARAMS=" --enable-neon"
 else
     CXX_TARGET="armeabi"
     CFLAGS="$CFLAGS -march=armv6j -mtune=arm1136j-s -msoft-float"



More information about the vlc-commits mailing list