don't build gdb on riscv64
authorjsg <jsg@openbsd.org>
Mon, 3 May 2021 03:45:40 +0000 (03:45 +0000)
committerjsg <jsg@openbsd.org>
Mon, 3 May 2021 03:45:40 +0000 (03:45 +0000)
gnu/usr.bin/Makefile

index 41289a4..d1efaba 100644 (file)
@@ -1,4 +1,4 @@
-#      $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>
@@ -21,7 +21,8 @@ SUBDIR+=      cxxfilt cvs
 # 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