From: Nikos Mavrogiannopoulos Date: Sat, 19 Aug 2017 21:33:46 +0000 (+0200) Subject: configure: disable hardware acceleration on aarch64/ilp32 mode X-Git-Tag: gnutls_3_6_0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12897fd34dbd37a77e4adb60750344e451c44679;p=thirdparty%2Fgnutls.git 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 --- 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)