diff options
author | Refael Ackermann <refack@gmail.com> | 2019-02-02 06:03:47 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-03-14 20:50:38 +0300 |
commit | 2f477bd34de128683c8d183e759b8f098205b1c9 (patch) | |
tree | da6ff195517dcb6eb0f133f58b61543cf49f3c36 /node.gypi | |
parent | cec35a5eb9a6424f1deb78e0ff624cbf9e166fb6 (diff) |
build,win: mark x86 image as not SAFESEH
Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers
PR-URL: https://github.com/nodejs/node/pull/25852
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'node.gypi')
-rw-r--r-- | node.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node.gypi b/node.gypi index f528a2082ea..7f7ea0aa2cb 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', ] |