mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build: disable ICF for mksnapshot
Refs: 5447267
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: https://github.com/nodejs/node/pull/54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
parent
525b3f22d1
commit
9d0748c5df
3 changed files with 42 additions and 1 deletions
6
node.gyp
6
node.gyp
|
@ -1405,6 +1405,12 @@
|
|||
'tools/snapshot/node_mksnapshot.cc',
|
||||
],
|
||||
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'EnableCOMDATFolding': '1', # /OPT:NOICF
|
||||
},
|
||||
},
|
||||
|
||||
'conditions': [
|
||||
['node_write_snapshot_as_array_literals=="true"', {
|
||||
'defines': [ 'NODE_MKSNAPSHOT_USE_ARRAY_LITERALS=1' ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue