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>
pull/26668/head
Refael Ackermann 2019-02-01 22:03:47 -05:00 committed by Michaël Zasso
parent cec35a5eb9
commit 2f477bd34d
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
1 changed files with 7 additions and 0 deletions

View File

@ -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', ]