Index: source/libvpx/build/make/rtcd.pl |
=================================================================== |
--- source/libvpx/build/make/rtcd.pl (revision 292072) |
+++ source/libvpx/build/make/rtcd.pl (working copy) |
@@ -49,7 +49,7 @@ |
my %config = (); |
while (<CONFIG_FILE>) { |
- next if !/^CONFIG_/; |
+ next if !/^(?:CONFIG_|HAVE_)/; |
chomp; |
my @pair = split /=/; |
$config{$pair[0]} = $pair[1]; |
@@ -209,14 +209,16 @@ |
#define RTCD_EXTERN extern |
#endif |
+EOF |
+ |
+process_forward_decls(); |
+print <<EOF; |
+ |
#ifdef __cplusplus |
extern "C" { |
#endif |
EOF |
- |
-process_forward_decls(); |
-print "\n"; |
declare_function_pointers("c", @ALL_ARCHS); |
print <<EOF; |
@@ -388,7 +390,7 @@ |
@REQUIRES = filter(keys %required ? keys %required : qw/media/); |
&require(@REQUIRES); |
arm; |
-} elsif ($opts{arch} eq 'armv8') { |
+} elsif ($opts{arch} eq 'armv8' || $opts{arch} eq 'arm64' ) { |
@ALL_ARCHS = filter(qw/neon/); |
arm; |
} else { |