-
-
Save indutny/4cdf1f81da1953508fa9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp | |
index 7a031ec..fef74b5 100644 | |
--- a/deps/openssl/openssl.gyp | |
+++ b/deps/openssl/openssl.gyp | |
@@ -20,6 +20,10 @@ | |
'OPENSSL_NO_GOST', | |
'OPENSSL_NO_HW_PADLOCK', | |
'OPENSSL_NO_TTY', | |
+ | |
+ # performance stuff | |
+# 'OPENSSL_BN_ASM_PART_WORDS', | |
+ # 'OPENSSL_BN_ASM_MONT' | |
], | |
'sources': [ | |
'openssl/ssl/bio_ssl.c', | |
@@ -179,7 +183,6 @@ | |
'openssl/crypto/bio/bss_null.c', | |
'openssl/crypto/bio/bss_sock.c', | |
'openssl/crypto/bn/bn_add.c', | |
- 'openssl/crypto/bn/bn_asm.c', | |
'openssl/crypto/bn/bn_blind.c', | |
'openssl/crypto/bn/bn_const.c', | |
'openssl/crypto/bn/bn_ctx.c', | |
@@ -650,9 +653,15 @@ | |
}], | |
['target_arch=="ia32"', { | |
'variables': {'openssl_config_path': 'config/piii'}, | |
+ 'sources': [ | |
+ 'openssl/crypto/bn/bn_asm.c', | |
+ ] | |
}, { | |
'variables': {'openssl_config_path': 'config/k8'}, | |
- }], | |
+ 'sources': [ | |
+ 'openssl/crypto/bn/asm/x86_64-gcc.c' | |
+ ] | |
+ }] | |
], | |
'include_dirs': [ | |
'.', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment