According to mrg@ we need to include aarch64 in the list of those

that need to support COMPAT_NETBSD32
This commit is contained in:
pgoyette 2020-03-06 04:54:08 +00:00
parent 177e627e68
commit ae7f2fd37d
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $NetBSD: netbsd32.mk,v 1.1 2019/02/04 21:57:47 mrg Exp $ # $NetBSD: netbsd32.mk,v 1.2 2020/03/06 04:54:08 pgoyette Exp $
# makefile fragment that tells you if you should support netbsd32 or not. # makefile fragment that tells you if you should support netbsd32 or not.
# include this and check ${COMPAT_USE_NETBSD32} != "no". # include this and check ${COMPAT_USE_NETBSD32} != "no".
.if ${MACHINE_ARCH} == "x86_64" \ .if ${MACHINE_ARCH} == "x86_64" \
|| ${MACHINE_CPU} == "arm" \ || ${MACHINE_CPU} == "arm" \
|| ${MACHINE_CPU} == "aarch64" \
|| ${MACHINE_ARCH} == "sparc64" \ || ${MACHINE_ARCH} == "sparc64" \
|| (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE)) || (!empty(MACHINE_ARCH:Mmips64*) && !defined(BSD_MK_COMPAT_FILE))
COMPAT_USE_NETBSD32?=yes COMPAT_USE_NETBSD32?=yes