Skip to content

Commit cae04fd

Browse files
committed
build: add /bigobj to compile V8 on Windows
1 parent b3c3d46 commit cae04fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/v8_gypfiles/toolchain.gypi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,13 @@
527527
'msvs_configuration_attributes': {
528528
'CharacterSet': '1',
529529
},
530+
'msvs_settings': {
531+
'VCCLCompilerTool': {
532+
'AdditionalOptions': [
533+
'/bigobj', # Prevent C1128: number of sections exceeded object file format limit.
534+
],
535+
},
536+
},
530537
}],
531538
['OS=="win" and v8_enable_prof==1', {
532539
'msvs_settings': {

0 commit comments

Comments
 (0)