summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2021-04-28 22:56:23 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2021-04-28 22:56:23 +0000
commit9f71fcaf801341d57eb286bea194ce0f186e2180 (patch)
tree2af0d08d96b412f681530dfdbe415838238c574c /gnu
parent10f7ce7d3e951951ff557203ff4e1acb0326e58f (diff)
Build libcompiler_rt for riscv64
ok kettenis@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libcompiler_rt/Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/gnu/lib/libcompiler_rt/Makefile b/gnu/lib/libcompiler_rt/Makefile
index 73b900cc5a7..ba0c4c5fe0f 100644
--- a/gnu/lib/libcompiler_rt/Makefile
+++ b/gnu/lib/libcompiler_rt/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2020/08/14 14:30:06 kettenis Exp $
+# $OpenBSD: Makefile,v 1.5 2021/04/28 22:56:22 drahn Exp $
.include <bsd.own.mk>
@@ -282,6 +282,27 @@ SRCS+= comparetf2.c \
SRCS+= atomic_lock_free.c
.endif
+.if ${RTARCH} == "riscv64"
+SRCS+= comparetf2.c \
+ extenddftf2.c \
+ extendsftf2.c \
+ fixtfdi.c \
+ fixtfsi.c \
+ fixtfti.c \
+ fixunstfdi.c \
+ fixunstfsi.c \
+ fixunstfti.c \
+ floatditf.c \
+ floatsitf.c \
+ floattitf.c \
+ floatunditf.c \
+ floatunsitf.c \
+ floatuntitf.c \
+ multc3.c \
+ trunctfdf2.c \
+ trunctfsf2.c
+.endif
+
.if ${RTARCH} == "sparc64"
SRCS+= comparetf2.c \
extenddftf2.c \