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:
John Baldwin 2019-12-04 20:18:12 +00:00
parent ec66aadd2b
commit 3487d66820
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355401

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