Define __SOFT_FP__ for riscv64sf to avoid infinite recursion.

Submitted by:	James Clarke <jrtc27@jrtc27.com>
Reviewed by:	imp
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D22660
This commit is contained in:
jhb 2019-12-04 20:18:12 +00:00
parent 70d7980160
commit 839cb303e4

View File

@ -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