discussion with espie kettenis jsg
-# $OpenBSD: Makefile.bsd-wrapper,v 1.22 2021/05/05 04:52:39 drahn Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.23 2021/06/21 14:20:20 deraadt Exp $
.include <bsd.own.mk>
CONFIGTARGET=
.endif
-.if ${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "powerpc64"
+.if ${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "powerpc64" || \
+ ${TARGET_ARCH} == "riscv64"
CONFIGTARGET+=--without-gnu-ld
CONFIGTARGET+=--without-gnu-as
.endif
;;
esac
;;
- riscv*-*-openbsd*)
- noconfigdirs="ld gas"
- ;;
*-*-netware*)
noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
- riscv*-*-openbsd*)
- noconfigdirs="ld gas"
- ;;
romp-*-*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
- riscv*-*-openbsd*)
- noconfigdirs="$noconfigdirs gas ld"
- ;;
romp-*-*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
;;