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:33:53 +0200
commit12897fd34dbd37a77e4adb60750344e451c44679 (patch)
treed9c46394fc479ef0e79d710e7a039f4b5074e6b1
parentfc9e1d427c745b9fc9445bf51b7299ce7477b221 (diff)
downloadgnutls-tmp-disable-aarch64-ilp32.tar.gz
configure: disable hardware acceleration on aarch64/ilp32 modetmp-disable-aarch64-ilp32
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 cbaa5a9e97..1be13664af 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)