Diff--git A/libvpx.gyp B/libvpx.gyp
Index 4F8CB2B: 4eb6866 100644
---a/libvpx.gyp
+ + B/libvpx.gyp
@@ -74,7 +74,7 @@
# Support for Neon and hide it behind Android cpu-features.
' Includes ': [' libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi ',],
}],
-[' (Target_arch! = "Arm" and target_arch! = "armv7") and \
+ [' (Target_arch! = "Arm" and target_arch! = "ARMv7" and target_arch! = "armv64") and \
(Target_arch! = "Mipsel" and target_arch! = "Mips64el") ', {
' Targets ': [
{
@@ -217,7 +217,7 @@
},
],
# ' LIBVPX ' target for ARM builds.
-[' (target_arch== "arm" or target_arch== "armv7") ', {
+ [' (target_arch== "arm" or target_arch== "armv7" or target_arch== "armv64") ', {
' Targets ': [
{
# This LIBVPX target contains both encoder and decoder.
@@ -453,7 +453,7 @@
# INTERMEDIATES-DIR-FOR macro.
' Lib_intermediate_name ': ' $ (Abspath $ (call INTERMEDIATES-DIR-FOR,STATIC_LIBRARIES,LIBVPX_ASM_OFFSETS_VP8,,, $ (gyp_ Var_prefix)))/libvpx_asm_offsets_vp8.a ',
}],
-[' (target_arch== "arm" or target_arch== "armv7") ', {
+ [' (target_arch== "arm" or target_arch== "armv7" or target_arch== "arm64") ', {
' Output_format ': ' Gas ',
}, {
' Output_format ': ' Rvds ',
Diff--git A/source/libvpx/build/make/obj_int_extract.c B/source/libvpx/build/make/obj_int_extract.c
Index 2e50f38: 7d4f0b8 100644
---a/source/libvpx/build/make/obj_int_extract.c
+ + b/source/libvpx/build/make/obj_int_extract.c
@@ -97,8 +97,10 @@ -97,8 parse_macho (uint8_t *base_buf, size_t sz, output_fmt_t mode) {
bits = 64;
BUF + = sizeof (struct mach_header_64);
} else {
-Log_msg ("Bad cputype for object file. Currently only tested for cpu_type_x86_64.\n ");
-Goto bail;
+//log_msg ("Bad cputype for object file. Currently only tested for cpu_type_x86_64.\n ");
+//goto bail;
+ bits = 64;
+ buf + = sizeof (struct mach_header_64);
}
} else {
Log_msg ("Bad magic number for object file.") 0x%x or 0x%x expected, 0x%x found.\n ",
iOS 64-bit compiler WEBRTC LIBVPX library error bad cputype for object file. Currently tested for cpu_type_x86_64