-# $OpenBSD: Makefile,v 1.62 2020/07/04 21:11:52 kettenis Exp $
+# $OpenBSD: Makefile,v 1.63 2021/05/03 03:45:40 jsg Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
# binutils-2.17 needs to build gdb in binutils at the moment
.if make(obj)
SUBDIR+= binutils
-.elif ${MACHINE_CPU} != "aarch64" && ${MACHINE_CPU} != "powerpc64"
+.elif ${MACHINE_CPU} != "aarch64" && ${MACHINE_CPU} != "powerpc64" && \
+ ${MACHINE_CPU} != "riscv64"
SUBDIR+= binutils
.endif
SUBDIR+= binutils-2.17