[vlc-devel] [PATCH 3/6 v3] contrib/bootstrap: Fix case order for arm64 check for android
    Marvin Scholz 
    epirat07 at gmail.com
       
    Wed Jun  5 22:54:26 CEST 2019
    
    
  
If the *arm* case come before the arm64 case, it would always match the
arm case instead of the arm64 one.
---
 contrib/bootstrap | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index ed49495a86..2e87a44f1e 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -320,12 +320,12 @@ case "${OS}" in
 		check_android_sdk
 		add_make_enabled "HAVE_LINUX" "HAVE_ANDROID"
 		case "${HOST}" in
-			*arm*)
-				add_make "PLATFORM_SHORT_ARCH := arm"
-				;;
 			*arm64*|*aarch64*)
 				add_make "PLATFORM_SHORT_ARCH := arm64"
 				;;
+			*arm*)
+				add_make "PLATFORM_SHORT_ARCH := arm"
+				;;
 			*i686*)
 				add_make "PLATFORM_SHORT_ARCH := x86"
 				;;
-- 
2.20.1 (Apple Git-117)
    
    
More information about the vlc-devel
mailing list