mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
configure.ac: in --enable-all-asm handler, support only x86_64 and aarch64, and enable sp-asm only for them, to avoid "ASM not available for CPU" error from sp-asm handler.
This commit is contained in:
27
configure.ac
27
configure.ac
@ -993,27 +993,34 @@ then
|
||||
AC_MSG_ERROR([--enable-all-asm is incompatible with --disable-armasm])
|
||||
fi
|
||||
|
||||
if test "$ENABLED_SP" != "no"
|
||||
then
|
||||
ENABLED_SP_ASM=yes
|
||||
if test "$ENABLED_SP" = ""
|
||||
then
|
||||
ENABLED_SP=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
case "$host_cpu" in
|
||||
*x86_64*|*amd64*)
|
||||
if test "$enable_intelasm" = ""
|
||||
then
|
||||
enable_intelasm=yes
|
||||
fi
|
||||
if test "$ENABLED_SP" != "no"
|
||||
then
|
||||
ENABLED_SP_ASM=yes
|
||||
if test "$ENABLED_SP" = ""
|
||||
then
|
||||
ENABLED_SP=yes
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*aarch64*|*arm*|*cortex*)
|
||||
*aarch64*)
|
||||
if test "$enable_armasm" = ""
|
||||
then
|
||||
enable_armasm=yes
|
||||
fi
|
||||
if test "$ENABLED_SP" != "no"
|
||||
then
|
||||
ENABLED_SP_ASM=yes
|
||||
if test "$ENABLED_SP" = ""
|
||||
then
|
||||
ENABLED_SP=yes
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Reference in New Issue
Block a user