| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index dd135c846ef22c93241c6c7898a1ab2749775856..785cdf3f5bc179e8d83b726d10f82074708f9d7f 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -1200,12 +1200,7 @@ if (is_win) {
|
| if (is_official_build) {
|
| common_optimize_on_ldflags += [
|
| "/OPT:REF", # Remove unreferenced data.
|
| -
|
| - # Enable /LTCG for the official builds. Use the incremental mode to
|
| - # speed-up the non-clobber builds. This is not the same as incremental
|
| - # linking (/INCREMENTAL) and doesn't have any impact on code size or on
|
| - # performance.
|
| - "/LTCG:INCREMENTAL",
|
| + "/LTCG", # Link-time code generation.
|
|
|
| # Set the number of LTCG code-gen threads to eight. The default is four.
|
| # This gives a 5-10% link speedup.
|
|
|