diff --git a/node.gypi b/node.gypi index f528a2082ea48d..7f7ea0aa2cb5fd 100644 --- a/node.gypi +++ b/node.gypi @@ -35,6 +35,13 @@ '-Werror=undefined-inline', ], }, + # Relevant only for x86. + # Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers + 'msvs_settings': { + 'VCLinkerTool': { + 'ImageHasSafeExceptionHandlers': 'false', + }, + }, 'conditions': [ [ 'clang==1', { 'cflags': [ '-Werror=undefined-inline', ]