From: Ben Noordhuis Date: Mon, 19 Dec 2011 21:55:11 +0000 (+0100) Subject: gyp: compile openssl with OPENSSL_NO_ASM=1 X-Git-Tag: v0.7.0~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15d0fa6dc125d986cdcd0ef02950c4a79e9fff77;p=platform%2Fupstream%2Fnodejs.git 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. --- diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index f4ed6d2..4593309 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"',