node/deps/openssl/openssl.gyp
Ben Noordhuis 1c8b4d7c89
build: disable openssl asm on arm64 for now
There is reason to believe the generated assembly isn't working
correctly so let's disable it for now pending further investigation.

PR-URL: https://github.com/nodejs/node/pull/24270
Refs: https://github.com/nodejs/node/issues/23913
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-11-14 00:55:50 +01:00

38 lines
1 KiB
Python

{
'targets': [
{
'target_name': 'openssl',
'type': '<(library)',
'includes': ['./openssl_common.gypi'],
'defines': [
# Compile out hardware engines. Most are stubs that dynamically load
# the real driver but that poses a security liability when an attacker
# is able to create a malicious DLL in one of the default search paths.
'OPENSSL_NO_HW',
],
'conditions': [
[ 'openssl_no_asm==0', {
'includes': ['./openssl_asm.gypi'],
}, {
'includes': ['./openssl_no_asm.gypi'],
}],
],
'direct_dependent_settings': {
'include_dirs': [ 'openssl/include']
}
}, {
# openssl-cli target
'target_name': 'openssl-cli',
'type': 'executable',
'dependencies': ['openssl'],
'includes': ['./openssl_common.gypi'],
'conditions': [
['openssl_no_asm==0', {
'includes': ['./openssl-cl_asm.gypi'],
}, {
'includes': ['./openssl-cl_no_asm.gypi'],
}],
],
},
],
}