mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +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])
|
AC_MSG_ERROR([--enable-all-asm is incompatible with --disable-armasm])
|
||||||
fi
|
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
|
case "$host_cpu" in
|
||||||
*x86_64*|*amd64*)
|
*x86_64*|*amd64*)
|
||||||
if test "$enable_intelasm" = ""
|
if test "$enable_intelasm" = ""
|
||||||
then
|
then
|
||||||
enable_intelasm=yes
|
enable_intelasm=yes
|
||||||
fi
|
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" = ""
|
if test "$enable_armasm" = ""
|
||||||
then
|
then
|
||||||
enable_armasm=yes
|
enable_armasm=yes
|
||||||
fi
|
fi
|
||||||
|
if test "$ENABLED_SP" != "no"
|
||||||
|
then
|
||||||
|
ENABLED_SP_ASM=yes
|
||||||
|
if test "$ENABLED_SP" = ""
|
||||||
|
then
|
||||||
|
ENABLED_SP=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user