the main xxx_ARCHS variables in arch-defines.mk should list MACHINE_ARCH

not ARCH names; fix for GO_ARCHS (from Brad) and extend the comment about
APM_ARCHS (which is special)
This commit is contained in:
sthen 2021-05-09 08:21:47 +00:00
parent 08aeab4d28
commit c52e15386b

View File

@ -1,4 +1,4 @@
# $OpenBSD: arch-defines.mk,v 1.81 2021/05/09 08:17:47 sthen Exp $
# $OpenBSD: arch-defines.mk,v 1.82 2021/05/09 08:21:47 sthen Exp $
#
# ex:ts=4 sw=4 filetype=make:
#
@ -14,7 +14,8 @@ ARCH ?!= uname -m
ALL_ARCHS = aarch64 alpha amd64 arm arm64 armv7 hppa i386 landisk loongson \
luna88k m88k macppc mips64 mips64el octeon powerpc64 riscv64 sgi \
sh sparc64
# not all powerpc have apm(4), hence the use of macppc
# normally only list MACHINE_ARCH (uname -p) names in these variables,
# but not all powerpc have apm(4), hence the use of macppc
APM_ARCHS = arm64 amd64 i386 loongson macppc sparc64
BE_ARCHS = hppa m88k mips64 powerpc powerpc64 sparc64
LE_ARCHS = aarch64 alpha amd64 arm i386 mips64el riscv64 sh
@ -25,7 +26,7 @@ GCC3_ARCHS = m88k
MONO_ARCHS = aarch64 amd64 i386
OCAML_NATIVE_ARCHS = i386 amd64
OCAML_NATIVE_DYNLINK_ARCHS = i386 amd64
GO_ARCHS = aarch64 amd64 arm arm64 armv7 i386
GO_ARCHS = aarch64 amd64 arm armv7 i386
RUST_ARCHS = aarch64 amd64 i386 sparc64
# arches where the base compiler is clang