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

Unified Diff: libvpx_srcs_x86_intrinsics.gypi

Issue 1047853005: Disable LTO on Mac when building AVX2 target. Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 9 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_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx_srcs_x86_intrinsics.gypi
diff --git a/libvpx_srcs_x86_intrinsics.gypi b/libvpx_srcs_x86_intrinsics.gypi
index fbedf4201e864eda38ac135a66250ec1804f5187..2b5c046fbbd96a7bb0a517067eafd0ee34ccea5b 100644
--- a/libvpx_srcs_x86_intrinsics.gypi
+++ b/libvpx_srcs_x86_intrinsics.gypi
@@ -124,6 +124,13 @@
# TODO(pcc): Remove this once we properly support subtarget specific
# code generation in LLVM (http://llvm.org/PR19416).
'cflags!': [ '-flto', '-fsanitize=cfi-vptr', ],
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'xcode_settings': {
+ 'LLVM_LTO': 'NO',
+ },
+ }],
+ ],
},
],
}
« no previous file with comments | « libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698