summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-12-25 09:20:49 +0000
committerclaudio <claudio@openbsd.org>2018-12-25 09:20:49 +0000
commite37d018de997f24864e475a305434b79e3e2b38b (patch)
tree94d36cae268bcf958b115bf4f83178fa4668deaa /lib/libcompiler_rt
parentbugfix: make the static class buffer long enough (diff)
downloadwireguard-openbsd-e37d018de997f24864e475a305434b79e3e2b38b.tar.xz
wireguard-openbsd-e37d018de997f24864e475a305434b79e3e2b38b.zip
Use the same additional arch specific files for sparc64 as is done for mips
or aarch64. Needed to build userland with clang. OK visa@ kettenis@
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 0940093525b..812bef29aea 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2018/10/21 05:13:49 visa Exp $
+# $OpenBSD: Makefile,v 1.14 2018/12/25 09:20:49 claudio Exp $
.include <bsd.own.mk>
@@ -287,6 +287,27 @@ SRCS+= divtc3.c \
multc3.c
.endif
+.if ${RTARCH} == "sparc64"
+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
+
.include <bsd.lib.mk>
.else