summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/node.gypi b/node.gypi
index f528a2082e..7f7ea0aa2c 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', ]