From ca3c50b789011565a3109528ff66eb2b93ce0659 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 2 Mar 2015 21:35:29 +0100 Subject: build: add basic arm64 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds basic arm64 support to the build. Building the bundled openssl is disabled pending an upgrade to openssl 1.2, the currently bundled version has some hand-rolled assembly that is 32 bits only. PR-URL: https://github.com/iojs/io.js/pull/1028 Reviewed-By: Johan Bergström Reviewed-By: Rod Vagg --- deps/openssl/config/opensslconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deps/openssl/config') diff --git a/deps/openssl/config/opensslconf.h b/deps/openssl/config/opensslconf.h index 2e7732b926..84e5de7c12 100644 --- a/deps/openssl/config/opensslconf.h +++ b/deps/openssl/config/opensslconf.h @@ -190,7 +190,7 @@ * boundary. See crypto/rc4/rc4_enc.c for further details. */ # undef RC4_CHUNK -# if defined(_M_X64) || defined(__x86_64__) +# if defined(_M_X64) || defined(__aarch64__) || defined(__x86_64__) # define RC4_CHUNK unsigned long long # elif defined(__arm__) # define RC4_CHUNK unsigned long @@ -220,7 +220,7 @@ # undef THIRTY_TWO_BIT # undef SIXTEEN_BIT # undef EIGHT_BIT -# if defined(_M_X64) || defined(__x86_64__) +# if defined(_M_X64) || defined(__aarch64__) || defined(__x86_64__) # if defined(_LP64) # define SIXTY_FOUR_BIT_LONG # else -- cgit v1.2.3