Skip to content

Commit

Permalink
build: x86 image is not SAFESEH
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Feb 2, 2019
1 parent 6fe3c17 commit 0397f8d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
'-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', ]
Expand Down

0 comments on commit 0397f8d

Please sign in to comment.