Build DTrace assym.o with -msoft-float flag for RISC-V so we have

correct flag in ELF file.

Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
This commit is contained in:
br 2016-07-28 13:18:10 +00:00
parent 76608ba084
commit d62b81d28b

View File

@ -58,6 +58,11 @@ assym.o: assym.s
${AS} -meabi=5 -o assym.o assym.s
.endif
.if ${MACHINE_CPUARCH} == "riscv"
assym.o: assym.s
${AS} -msoft-float -o assym.o assym.s
.endif
.include <bsd.kmod.mk>
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h