[vlc-devel] [PATCH 2/3] contrib: vpx: do not enable runtime cpu detect for aarch64 darwin
Marvin Scholz
epirat07 at gmail.com
Mon Aug 10 19:04:11 CEST 2020
---
contrib/src/vpx/rules.mak | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 83b6503ff56..352a8625c0f 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -62,16 +62,12 @@ ifdef HAVE_ANDROID
VPX_OS := android
else ifdef HAVE_LINUX
VPX_OS := linux
-else ifdef HAVE_MACOSX
-VPX_OS := darwin10
-VPX_CROSS :=
-else ifdef HAVE_IOS
+else ifdef HAVE_DARWIN_OS
VPX_CROSS :=
ifeq ($(ARCH),$(filter $(ARCH), arm aarch64))
VPX_OS := darwin
else
VPX_OS := darwin11
-VPX_CROSS :=
endif
else ifdef HAVE_SOLARIS
VPX_OS := solaris
@@ -100,15 +96,13 @@ VPX_CONF := \
--enable-vp9-highbitdepth \
--disable-tools
+ifneq ($(filter arm aarch64, $(ARCH)),)
+# Only enable runtime cpu detect on architectures other than arm/aarch64
+# when building for Windows and Darwin
ifndef HAVE_WIN32
-ifndef HAVE_IOS
+ifndef HAVE_DARWIN_OS
VPX_CONF += --enable-runtime-cpu-detect
endif
-else
-# WIN32
-ifeq ($(filter arm aarch64, $(ARCH)),)
-# Only enable runtime cpu detect on architectures other than arm/aarch64
-VPX_CONF += --enable-runtime-cpu-detect
endif
endif
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list