Index: libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi |
diff --git a/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi b/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi |
index a28c97c3b5049d2ce766533003d9b34f3a013d52..42c9e07d045e384526e4649d75f52a7e0df65be0 100644 |
--- a/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi |
+++ b/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi |
@@ -41,6 +41,15 @@ |
'cflags!': [ '-mfpu=vfpv3-d16' ], |
'cflags': [ '-mfpu=neon', ], |
'xcode_settings': { 'OTHER_CFLAGS': [ '-mfpu=neon' ] }, |
+ 'conditions': [ |
+ # Disable LTO in libvpx_intrinsics_neon target due to compiler bug |
+ ['use_lto==1', { |
+ 'cflags!': [ |
+ '-flto', |
+ '-ffat-lto-objects', |
+ ], |
+ }], |
+ ], |
}, |
], |
} |