Skip to content

Commit 2f477bd

Browse files
refacktargos
authored andcommittedMar 14, 2019
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: #25852 Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]>
1 parent cec35a5 commit 2f477bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎node.gypi

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
'-Werror=undefined-inline',
3636
],
3737
},
38+
# Relevant only for x86.
39+
# Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers
40+
'msvs_settings': {
41+
'VCLinkerTool': {
42+
'ImageHasSafeExceptionHandlers': 'false',
43+
},
44+
},
3845
'conditions': [
3946
[ 'clang==1', {
4047
'cflags': [ '-Werror=undefined-inline', ]

0 commit comments

Comments
 (0)
Please sign in to comment.