diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index d4bad70d45025e..d6cc53f8493ecf 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -1362,5 +1362,13 @@ 4724, # https://crbug.com/v8/7771 4800, # Forcing value to bool. ], + # Relevant only for x86. + # Refs: https://github.com/nodejs/node/pull/25852 + # Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers + 'msvs_settings': { + 'VCLinkerTool': { + 'ImageHasSafeExceptionHandlers': 'false', + }, + }, }, # target_defaults }