Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index ea5401a39facfaa3bb45edcdaafd57d01cdc9b07..3b32238c6212bbc810d60a1528d0367df05233d3 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -1193,6 +1193,9 @@ if (is_win) { |
# This gives a 5-10% link speedup. |
"/cgthreads:8", |
] |
+ if (full_wpo_on_official) { |
+ arflags = [ "/LTCG" ] |
+ } |
} |
} else { |
common_optimize_on_cflags = [ |