]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure: disable hardware acceleration on aarch64/ilp32 mode
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Aug 2017 21:33:46 +0000 (23:33 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Aug 2017 21:33:53 +0000 (23:33 +0200)
Our included assembly code for aarch64 is not suitable for that
data mode.

Resolves #252

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
configure.ac

index cbaa5a9e97b2889c4b935b6577461452c87bac63..1be13664af61f30d8f6a2825d92d9f95ea85d526 100644 (file)
@@ -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)