Author: jhb Date: Wed Dec 4 20:18:12 2019 New Revision: 355401 URL: https://svnweb.freebsd.org/changeset/base/355401
Log: Define __SOFT_FP__ for riscv64sf to avoid infinite recursion. Submitted by: James Clarke <jrt...@jrtc27.com> Reviewed by: imp Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D22660 Modified: head/lib/libcompiler_rt/Makefile.inc Modified: head/lib/libcompiler_rt/Makefile.inc ============================================================================== --- head/lib/libcompiler_rt/Makefile.inc Wed Dec 4 20:15:17 2019 (r355400) +++ head/lib/libcompiler_rt/Makefile.inc Wed Dec 4 20:18:12 2019 (r355401) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"