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

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: Review comments 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
« libvpx.gyp ('K') | « 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..b42c12d1569152e511558ebba34ff4bcc901b016 100644
--- a/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi
+++ b/libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi
@@ -39,6 +39,15 @@
'<(libvpx_source)/vp9/encoder/arm/neon/vp9_variance_neon.c',
],
'cflags!': [ '-mfpu=vfpv3-d16' ],
+ 'conditions': [
+ # Disable LTO in neon targets due to compiler bug
+ ['use_lto==1', {
+ 'cflags!': [
+ '-flto',
+ '-ffat-lto-objects',
+ ],
+ }],
+ ],
'cflags': [ '-mfpu=neon', ],
'xcode_settings': { 'OTHER_CFLAGS': [ '-mfpu=neon' ] },
},
« libvpx.gyp ('K') | « libvpx.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698