aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-03-16 17:19:56 +0100
committerBrian Behlendorf <[email protected]>2022-03-18 16:49:08 -0700
commitbd0955cd8e005136ea2e58da58d39e4ff2f3b517 (patch)
tree394f0694c6fdf15454da9e8b2e45026d57ca81e7 /config
parent515710a1e1a11c7d1aec28adac0c486eae4519f1 (diff)
config: always-arch: prune unused TARGET_CPU_*, add TARGET_CPU catch-all
This fixes (harmless) error spew from configuring on, e.g., armv6l Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13193 Closes #13225
Diffstat (limited to 'config')
-rw-r--r--config/always-arch.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config/always-arch.m4 b/config/always-arch.m4
index 25e8c963a..aa4174f79 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)
])