From 4d0bf1f3cf8bde79b56495c4e966d008d216af78 Mon Sep 17 00:00:00 2001 From: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> Date: Wed, 16 Oct 2024 14:58:49 -0400 Subject: [PATCH] vpx: disable neon for iOS This patch fixes a crash when using NEON on devices with A11 and earlier, as they do not support NEON dot-product instructions. https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/411 Change-Id: Ia107a04145bb4eb2c9fd6f7e977cb0742f0fab1e --- contrib/src/vpx/rules.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak index 07664ccb1a..3888381151 100644 --- a/contrib/src/vpx/rules.mak +++ b/contrib/src/vpx/rules.mak @@ -92,7 +92,9 @@ VPX_CONF := \ --disable-webm-io ifdef HAVE_IOS - VPX_CONF += --disable-runtime-cpu-detect + VPX_CONF += \ + --disable-runtime-cpu-detect \ + --disable-neon # Disable NEON to prevent crashes on iOS devices A11 and prior endif ifndef HAVE_WIN32 -- GitLab