summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-19 23:33:46 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-19 23:35:51 +0200
commit8a19c28b3ba7a592ea95c50aa6b18cef5a6d6101 (patch)
treef92019085b65aa415c56216973f339ac3c6f1673
parentcc8309399a7a4d9c145ebf12cceb5b9be5e5140e (diff)
downloadgnutls-8a19c28b3ba7a592ea95c50aa6b18cef5a6d6101.tar.gz
configure: disable hardware acceleration on aarch64/ilp32 mode
Our included assembly code for aarch64 is not suitable for that data mode. Resolves #252 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9705db26db..0a4bfeba30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,12 @@ if test "$use_accel" != "no"; then
case $host_cpu in
armv8 | aarch64)
hw_accel="aarch64"
+ case $host_os in
+ *_ilp32)
+ dnl ILP32 not supported in assembler yet
+ hw_accel="none"
+ ;;
+ esac
;;
i?86 | x86_64 | amd64)
AC_CHECK_HEADERS(cpuid.h)