From 15d0fa6dc125d986cdcd0ef02950c4a79e9fff77 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 19 Dec 2011 22:55:11 +0100 Subject: [PATCH] gyp: compile openssl with OPENSSL_NO_ASM=1 Fixes linker error "undefined reference to `OPENSSL_ia32_cpuid'". This is sub-optimal and needs to be revisited, the plain C implementations are often much slower. --- deps/openssl/openssl.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index f4ed6d26512..45933094de5 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -8,6 +8,7 @@ 'target_name': 'openssl', 'type': '<(library)', 'defines': [ + 'OPENSSL_NO_ASM=1', # revisit, this slows down most algorithms 'L_ENDIAN', 'OPENSSLDIR="ssl"', 'ENGINESDIR="ssl/lib/engines"',