gyp: compile openssl with OPENSSL_NO_ASM=1
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 19 Dec 2011 21:55:11 +0000 (22:55 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 19 Dec 2011 21:55:11 +0000 (22:55 +0100)
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

index f4ed6d2..4593309 100644 (file)
@@ -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"',