Skip to content

Commit 9c1ebb7

Browse files
targosRafaelGSS
authored andcommitted
build: add /bigobj to compile V8 on Windows
PR-URL: #58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent fb3d5ea commit 9c1ebb7

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
@@ -500,6 +500,13 @@
500500
'msvs_configuration_attributes': {
501501
'CharacterSet': '1',
502502
},
503+
'msvs_settings': {
504+
'VCCLCompilerTool': {
505+
'AdditionalOptions': [
506+
'/bigobj', # Prevent C1128: number of sections exceeded object file format limit.
507+
],
508+
},
509+
},
503510
}],
504511
['OS=="win" and v8_enable_prof==1', {
505512
'msvs_settings': {

0 commit comments

Comments
 (0)