[vlc-commits] contrib: vpx: do not enable runtime cpu detect for aarch64 darwin

Marvin Scholz git at videolan.org
Fri Aug 14 16:03:00 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Aug 10 15:09:20 2020 +0200| [5681ea32dd6b57f96a251562fbcc0e413a74ddf5] | committer: Marvin Scholz

contrib: vpx: do not enable runtime cpu detect for aarch64 darwin

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

 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 83b6503ff5..352a8625c0 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
 



More information about the vlc-commits mailing list