summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/downstream/crypto/platform.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-11 21:32:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-11 21:32:25 +0300
commit628ef8e06dfb02f1148587dcd3060c2f0413455c (patch)
tree9b95f903652075dbfba5b46f9dd81b419d578186 /libcrypto/libcrypto/downstream/crypto/platform.h
parenta03ec0f5a8c56277673a8dea791e08d7282b9ed1 (diff)
Release version 1.1.1+18v1.1.1+18
Add support for arm64 architecture for Linux. Fix link order so that libraries are linked after all object files. Exclude wasm class from builds.
Diffstat (limited to 'libcrypto/libcrypto/downstream/crypto/platform.h')
-rw-r--r--libcrypto/libcrypto/downstream/crypto/platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrypto/libcrypto/downstream/crypto/platform.h b/libcrypto/libcrypto/downstream/crypto/platform.h
index c5f0984..8dd6690 100644
--- a/libcrypto/libcrypto/downstream/crypto/platform.h
+++ b/libcrypto/libcrypto/downstream/crypto/platform.h
@@ -32,15 +32,15 @@
# else
# error x86_64 architecture is not supported for this OS
# endif
-# elif defined(__arm64__) /* POSIX arm64 */
+# elif defined(__arm64__) || defined(__aarch64__) /* POSIX arm64 */
# if defined(__APPLE__)
# include "arm64-macos.h"
+# elif defined(__linux__)
+# include "arm64-linux.h"
/*
- * arm64 architecture is not currently supported for Linux and FreeBSD.
+ * arm64 architecture is not currently supported for FreeBSD.
*/
/*
-# elif defined(__linux__)
-# include "arm64-linux.h"
# elif defined(__FreeBSD__)
# include "arm64-freebsd.h"
*/