From 346cf6dba1b615abf83a7dbea5b44756a90a49db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Mar 2022 17:19:56 +0100 Subject: [PATCH] config: always-arch: prune unused TARGET_CPU_*, add TARGET_CPU catch-all MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes (harmless) error spew from configuring on, e.g., armv6l Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13193 Closes #13225 --- config/always-arch.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/always-arch.m4 b/config/always-arch.m4 index 25e8c963a4b4..aa4174f79edd 100644 --- a/config/always-arch.m4 +++ b/config/always-arch.m4 @@ -29,13 +29,13 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_ARCH], [ sparc64) TARGET_CPU=sparc64 ;; + *) + TARGET_CPU=$target_cpu + ;; esac AC_SUBST(TARGET_CPU) - AM_CONDITIONAL([TARGET_CPU_I386], test $TARGET_CPU = i386) AM_CONDITIONAL([TARGET_CPU_X86_64], test $TARGET_CPU = x86_64) AM_CONDITIONAL([TARGET_CPU_POWERPC], test $TARGET_CPU = powerpc) - AM_CONDITIONAL([TARGET_CPU_AARCH64], test $TARGET_CPU = aarch64) - AM_CONDITIONAL([TARGET_CPU_SPARC64], test $TARGET_CPU = sparc64) ])