This brings us fp_mode.c used in softfloat code, and muldi3.S used when
the target ISA doesn't have the Multiply extension.
ok kettenis@
-# $OpenBSD: Makefile,v 1.6 2021/12/28 15:45:17 patrick Exp $
+# $OpenBSD: Makefile,v 1.7 2024/02/06 05:00:12 jca Exp $
.include <bsd.own.mk>
RTARCH= x86_64
.elif ${MACHINE_ARCH} == "powerpc"
RTARCH= ppc
+.elif ${MACHINE_ARCH} == "riscv64"
+RTARCH= riscv
.else
RTARCH= ${MACHINE_ARCH}
.endif
SRCS+= atomic_lock_free.c
.endif
-.if ${RTARCH} == "riscv64"
+.if ${RTARCH} == "riscv"
SRCS+= comparetf2.c \
extenddftf2.c \
extendsftf2.c \