Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi

Issue 471653004: [libvpx] Disable LTO for one target. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libvpx.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ ],
+ }],
+ ],
},
],
}
« no previous file with comments | « libvpx.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698