summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index dac72f3..f67961a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -5274,6 +5274,11 @@
'VCLinkerTool': {
# Set /LTCG for the official builds.
'LinkTimeCodeGeneration': '1',
+ 'AdditionalOptions': [
+ # Set the number of LTCG code-gen threads to eight.
+ # The default is four. This gives a 5-10% link speedup.
+ '/cgthreads:8',
+ ],
},
},
'target_conditions': [