aboutsummaryrefslogtreecommitdiff
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 3dcd40460d32..094731f77392 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -13,7 +13,13 @@ unix ?= We run FreeBSD, not UNIX.
# and/or endian. This is called MACHINE_CPU in NetBSD, but that's used
# for something different in FreeBSD.
#
-MACHINE_CPUARCH=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/:C/powerpc64/powerpc/:C/riscv64/riscv/}
+MACHINE_CPUARCH_SUB= \
+ C/mips(n32|64)?(el)?/mips/ \
+ C/arm(v6)?(eb|hf)?/arm/ \
+ C/aarch64/arm64/ \
+ C/powerpc64/powerpc/ \
+ C/riscv64/riscv/
+MACHINE_CPUARCH=${MACHINE_ARCH:${MACHINE_CPUARCH_SUB:ts:}}
.endif