From: Johann Date: Tue, 29 Jul 2014 18:28:23 +0000 (-0700) Subject: Require armv6/media when building armv7 X-Git-Tag: v1.4.0~1108^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24fbfa42f1eaff737df420e7c93b2f286e5416af;p=libvpx 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 --- diff --git a/build/make/rtcd.pl b/build/make/rtcd.pl index 295443c0f..28ef69c23 100755 --- a/build/make/rtcd.pl +++ b/build/make/rtcd.pl @@ -385,6 +385,8 @@ if ($opts{arch} eq 'x86') { 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/);