summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-02-28 16:35:17 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-02-28 16:40:13 +0100
commitd87904286024f5ceb6a2d0d5f17e919c775830a0 (patch)
tree3168364e148f35b2d3acbf7bee3f4f515b92aeea /common.gypi
parent522668b5d93b46d7beb7f4d4c5db2078cf08560b (diff)
downloadnode-d87904286024f5ceb6a2d0d5f17e919c775830a0.tar.gz
build, windows: disable SEH
Turn off safe exception handlers, they're incompatible with how openssl is compiled / linked under MSVS 2012. Addresses the following build error: openssl.lib(x86cpuid.obj) : error LNK2026: module unsafe for SAFESEH image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj] openssl.lib(x86.obj) : error LNK2026: module unsafe for SAFESEH image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj] # etc. etc. g:\jenkins\workspace\nodejs-oneoff\Release\node.exe : fatal error LNK1281: Unable to generate SAFESEH image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj] Fixes #4242.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index b26d2f3f1..26a276cdc 100644
--- a/common.gypi
+++ b/common.gypi
@@ -117,6 +117,7 @@
'WarningLevel': 3,
'BufferSecurityCheck': 'true',
'ExceptionHandling': 1, # /EHsc
+ 'ImageHasSafeExceptionHandlers': 0, # /SAFESEH:NO
'SuppressStartupBanner': 'true',
'WarnAsError': 'false',
},