shithub: libvpx

Download patch

ref: e57709807919d09d64ab9b1b7db749d82fa84dc6
parent: 547cb14e1542c7770f58a82189fc3a5b962296ac
author: Johann <johannkoenig@google.com>
date: Mon Dec 8 10:13:37 EST 2014

Disable neon assembly when neon is disabled

Change-Id: Idde266cd7287bb6bee016c90efeafa67550f94c6

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -805,7 +805,12 @@
           ;;
         armv7|armv7s)
           soft_enable neon
-          soft_enable neon_asm
+          # Only enable neon_asm when neon is also enabled.
+          enabled neon && soft_enable neon_asm
+          # If someone tries to force it through, die.
+          if disabled neon && enabled neon_asm; then
+            die "Disabling neon while keeping neon-asm is not supported"
+          fi
           soft_enable media
           soft_enable fast_unaligned
           ;;
--