[vlc-commits] contrib: fix architecture handling for macOS
Felix Paul Kühne
git at videolan.org
Wed Dec 9 16:33:19 UTC 2020
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Nov 30 18:10:39 2020 +0100| [6cebadc0b26352740f8fcea41d071ad23211dbc1] | committer: Felix Paul Kühne
contrib: fix architecture handling for macOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cebadc0b26352740f8fcea41d071ad23211dbc1
---
contrib/bootstrap | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index 8cd4c68f40..b65ea5788b 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -272,6 +272,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"
+ add_make_enabled "HAVE_NEON"
+ ;;
+ *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"
More information about the vlc-commits
mailing list