Skip to content

Commit

Permalink
config: always-arch: prune unused TARGET_CPU_*, add TARGET_CPU catch-all
Browse files Browse the repository at this point in the history
This fixes (harmless) error spew from configuring on, e.g., armv6l

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#13193
Closes openzfs#13225
  • Loading branch information
nabijaczleweli authored and andrewc12 committed Sep 23, 2022
1 parent 6705b77 commit c334d1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/always-arch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
])

0 comments on commit c334d1c

Please sign in to comment.