From 1b319804ad5aa4bb36d7cf6da21bcfd6407b82a2 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 19 Feb 2021 19:56:07 +0100 Subject: [PATCH] configure: When enabling --enable-sp-asm, accept host_cpu amd64 as alternative to x86_64 Allows to use --enable-sp-asm on ElectroBSD amd64. Previouly configure failed with: configure: error: ASM not available for CPU. Supported CPUs: x86_64, aarch64, arm --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index dd8a6ac74..8120c3f98 100644 --- a/configure.ac +++ b/configure.ac @@ -5242,7 +5242,7 @@ if test "$ENABLED_SP_ASM" = "yes"; then fi fi ;; - *x86_64*) + *x86_64*|*amd64*) AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SP_X86_64_ASM" AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_SP_X86_64_ASM" ENABLED_SP_X86_64_ASM=yes