Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 7e2d4b00dd35062ee4943189e41a815b163fc407..9a9c48bda6c71fdd3131f4519a34c1229c09828e 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3279,6 +3279,7 @@ |
], |
'AdditionalOptions': [ |
'/d2Zi+', # Improve debugging of Release builds. |
+ '/Zc:inline', # Remove unreferenced COMDAT (faster links). |
'<@(win_release_extra_cflags)', |
], |
}, |
@@ -5196,6 +5197,11 @@ |
4702 |
], |
'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'AdditionalOptions!': [ |
+ '/Zc:inline', # Not supported on non-updated Express. |
+ ], |
+ }, |
'VCLinkerTool': { |
# Explicitly required when using the ATL with express |
'AdditionalDependencies': ['atlthunk.lib'], |