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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2559843002: move lld-incompatible linker flags inside !use_lld clause (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 28be23c76560f35a65b3bc8070738608e0edc4df..8506d4e28099c34d0a19892e0317462a3a73dd15 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1278,12 +1278,12 @@ if (is_win) {
} else {
common_optimize_on_ldflags += [ "/LTCG" ] # Link-time code generation.
}
- }
- if (full_wpo_on_official) {
- if (use_incremental_wpo) {
- arflags = [ "/LTCG:INCREMENTAL" ]
- } else {
- arflags = [ "/LTCG" ]
+ if (full_wpo_on_official) {
+ if (use_incremental_wpo) {
+ arflags = [ "/LTCG:INCREMENTAL" ]
+ } else {
+ arflags = [ "/LTCG" ]
+ }
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698