[vlc-commits] [Git][videolan/vlc][master] contrib: remove cargo-culted short arch

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Tue Oct 11 07:27:53 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
cbbd548c by Rémi Denis-Courmont at 2022-10-11T06:35:37+00:00
contrib: remove cargo-culted short arch

The short arch macro is an idiosynchrasy of the Android SDK. It is not
used on any other target in contribs.

- - - - -


1 changed file:

- contrib/bootstrap


Changes:

=====================================
contrib/bootstrap
=====================================
@@ -276,33 +276,16 @@ case "${OS}" in
 		then
 			check_macosx_sdk
 			add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
-
-			case "${HOST}" in
-			    *arm64*|*aarch64*)
-			    add_make "PLATFORM_SHORT_ARCH := arm64"
-			    ;;
-			    *x86_64*)
-			    add_make "PLATFORM_SHORT_ARCH := x86_64"
-			    ;;
-			esac;
 		else
 			check_ios_sdk
 			add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD" "HAVE_FPU"
 
 			case "${HOST}" in
-				*arm64*|*aarch64*)
-					add_make "PLATFORM_SHORT_ARCH := arm64"
+				*arm64*)
 					;;
 				*arm*)
-					add_make "PLATFORM_SHORT_ARCH := armv7"
 					add_make_enabled "HAVE_ARMV7A"
 					;;
-				*x86_64*)
-					add_make "PLATFORM_SHORT_ARCH := x86_64"
-					;;
-				*86*)
-					add_make "PLATFORM_SHORT_ARCH := i386"
-					;;
 			esac;
 		fi
 		if test "$BUILDFORTVOS"



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbbd548c6529a50ca8738dcff118cabd7dd133e7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbbd548c6529a50ca8738dcff118cabd7dd133e7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list