From 12634b43762abd547548d38856c3dac3193d0815 Mon Sep 17 00:00:00 2001 From: drahn Date: Wed, 28 Apr 2021 22:56:22 +0000 Subject: [PATCH] Build libcompiler_rt for riscv64 ok kettenis@ --- gnu/lib/libcompiler_rt/Makefile | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 @@ -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 \ -- 2.20.1