[vlc-devel] [PATCH] contrib: vpx: iOS: Handle aarch64 as arm64 for VPX_OS

Soomin Lee bubu at mikan.io
Fri Nov 30 13:12:25 CET 2018


As stated in the libvpx README[1], for aarch64, darwin11 doesn't exist and leads to:

 `Unrecognized toolchain 'arm64-darwin11-gcc'`

See failure on jenkins[2].

[1]: https://github.com/webmproject/libvpx/blob/master/README
[2]: https://jenkins.videolan.org/job/VLCKit/job/vlc-nightly-iOS-MobileVLCKit/900/consoleFull
---
 contrib/src/vpx/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index ae2f0ee77c..d3345c67e7 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -76,7 +76,7 @@ VPX_OS := darwin10
 endif
 VPX_CROSS :=
 else ifdef HAVE_IOS
-ifeq ($(ARCH),arm)
+ifeq ($(ARCH),$(filter $(ARCH), arm aarch64))
 VPX_OS := darwin
 else
 VPX_OS := darwin11
-- 
2.19.1



More information about the vlc-devel mailing list