shithub: libvpx

Download patch

ref: 24fbfa42f1eaff737df420e7c93b2f286e5416af
parent: 1aa7a9dd2f18f2076246a225cf2e3447069ef669
author: Johann <[email protected]>
date: Tue Jul 29 07:28:23 EDT 2014

Require armv6/media when building armv7

When building with runtime cpu detect assume that armv7 targets can be
relied upon to have at least armv6 support. This may allow dead code
detectors to remove some _c functions.

Change-Id: Iaec4414011fcbbdf6f4ed0d90ef4a8fe8af540b5

--- a/build/make/rtcd.pl
+++ b/build/make/rtcd.pl
@@ -385,6 +385,8 @@
   arm;
 } elsif ($opts{arch} eq 'armv7') {
   @ALL_ARCHS = filter(qw/edsp media neon_asm neon/);
+  @REQUIRES = filter(keys %required ? keys %required : qw/media/);
+  &require(@REQUIRES);
   arm;
 } elsif ($opts{arch} eq 'armv8') {
   @ALL_ARCHS = filter(qw/neon/);