[vlc-commits] contrib/bootstrap: Fix case order for arm64 check for darwin

Marvin Scholz git at videolan.org
Wed Jun 12 21:09:38 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun  5 12:54:02 2019 +0200| [6b17ce3ebaf27139a2cfe4dab975c2dc41407669] | committer: Marvin Scholz

contrib/bootstrap: Fix case order for arm64 check for darwin

If the *arm* case come before the arm64 case, it would always match the
arm case instead of the arm64 one.

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

 contrib/bootstrap | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 76b200ab16..ed49495a86 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -293,13 +293,13 @@ case "${OS}" in
 					add_make "PLATFORM_SHORT_ARCH := armv7s"
 					add_make_enabled "HAVE_NEON" "HAVE_ARMV7A"
 					;;
+				*arm64*|*aarch64*)
+					add_make "PLATFORM_SHORT_ARCH := arm64"
+					;;
 				*arm*)
 					add_make "PLATFORM_SHORT_ARCH := armv7"
 					add_make_enabled "HAVE_NEON" "HAVE_ARMV7A"
 					;;
-				*arm64*|*aarch64*)
-					add_make "PLATFORM_SHORT_ARCH := arm64"
-					;;
 				*x86_64*)
 					add_make "PLATFORM_SHORT_ARCH := x86_64"
 					;;



More information about the vlc-commits mailing list