[Android] Use gcc 4.9 in 64bits builds

Jean-Baptiste Kempf git at videolan.org
Tue Jun 30 15:31:17 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 30 15:31:02 2015 +0200| [2cb42955bc0424272f5e7ee895ab5215a92fab01] | committer: Jean-Baptiste Kempf

Use gcc 4.9 in 64bits builds

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2cb42955bc0424272f5e7ee895ab5215a92fab01
---

 compile-libvlc.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 81878a1..bb51ecf 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -280,11 +280,12 @@ fi
 REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null|cut -b2-)
 case "$REL" in
     10*)
-        GCCVER=4.8
         if [ "${HAVE_64}" = 1 ];then
             ANDROID_API=android-21
+            GCCVER=4.9
         else
             ANDROID_API=android-9
+            GCCVER=4.8
         fi
     ;;
     *)



More information about the Android mailing list