-# $OpenBSD: bsd.own.mk,v 1.207 2021/01/29 16:38:20 kettenis Exp $
+# $OpenBSD: bsd.own.mk,v 1.208 2021/04/29 19:21:31 drahn Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
# Set `YP' to `yes' to build with support for NIS/YP.
YP?= yes
-CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 sparc64
+CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64
GCC4_ARCH=alpha hppa sh sparc64
GCC3_ARCH=m88k
-LLD_ARCH=aarch64 amd64 arm i386 powerpc64
+LLD_ARCH=aarch64 amd64 arm i386 powerpc64 riscv64
.if ${MACHINE} == "sgi"
GCC4_ARCH+=mips64
.endif
# m88k: ?
-PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sh sparc64
-STATICPIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sh sparc64
+PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64
+STATICPIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64
.for _arch in ${MACHINE_ARCH}
.if !empty(GCC3_ARCH:M${_arch})