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

Unified Diff: build/common.gypi

Issue 880403005: Make Android-specific LTO disablements have effect only on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « build/android/increase_size_for_speed.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 64a274b45551d0582f84d7f42ab83faceeb1f342..40479b1109b7c25c98a63ae5c71a79638c7b6dc0 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2985,7 +2985,8 @@
}],
['use_lto==1 and (target_arch=="ia32" or target_arch=="x64")', {
# Required for third_party/zlib/crc_folding.c and various other code
- # that uses SSE.
+ # that uses SSE. TODO(pcc): Remove this once we properly support
+ # subtarget specific code generation in LLVM.
'ldflags': ['-Wl,-plugin-opt,mcpu=corei7-avx'],
}],
], # conditions for 'target_defaults'
« no previous file with comments | « build/android/increase_size_for_speed.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698