[vlc-devel] [PATCH] contrib/bootstrap: add arm64 for android

Thomas Guillem tom at gllm.fr
Fri Oct 10 10:15:06 CEST 2014


---
 contrib/bootstrap | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index caa7691..ec74b94 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -215,6 +215,8 @@ check_android_sdk()
 	add_make "ANDROID_API := ${ANDROID_API}"
 	[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_NEON"
 	[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_ARMV7A"
+	[ ${ANDROID_ABI} = "arm64-v8a" ] && add_make_enabled "HAVE_NEON"
+	[ ${ANDROID_ABI} = "arm64-v8a" ] && add_make_enabled "HAVE_ARMV8A"
 	[ ${ANDROID_ABI} = "armeabi" -a -z "${NO_ARMV6}" ] && add_make_enabled "HAVE_ARMV6"
 }
 
@@ -250,6 +252,9 @@ case "${OS}" in
 			*arm*)
 			add_make "PLATFORM_SHORT_ARCH := arm"
 			;;
+			*arm64*)
+			add_make "PLATFORM_SHORT_ARCH := arm64"
+			;;
 			*i686*)
 			add_make "PLATFORM_SHORT_ARCH := x86"
 			;;
-- 
2.1.0




More information about the vlc-devel mailing list