diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2019-12-04 20:18:12 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2019-12-04 20:18:12 +0000 |
| commit | 3487d66820b758b67aaa167e88a2440ee0d36d04 (patch) | |
| tree | 6286e6d622f97c1ea522d03800f3294f49be3814 /lib/libcompiler_rt | |
| parent | ec66aadd2bd6819e9e2687f725c0e0e225603d3d (diff) | |
Notes
Diffstat (limited to 'lib/libcompiler_rt')
| -rw-r--r-- | lib/libcompiler_rt/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc index ca50e21a6d05..d6e46deab595 100644 --- a/lib/libcompiler_rt/Makefile.inc +++ b/lib/libcompiler_rt/Makefile.inc @@ -241,3 +241,7 @@ SRCS+= sync_synchronize.S SRCS+= bswapdi2.c SRCS+= bswapsi2.c .endif + +.if ${MACHINE_ARCH:Mriscv*sf} +CFLAGS+= -D__SOFT_FP__ +.endif |
