Remove extra -msoft-float flags settings.

This helps to build firmware modules.

Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
This commit is contained in:
br 2016-08-10 13:32:27 +00:00
parent 68c30b183a
commit 5d5018f88a
2 changed files with 0 additions and 10 deletions

View File

@ -327,11 +327,6 @@ CFLAGS += -mfloat-abi=softfp
.endif
.endif
.if ${MACHINE_CPUARCH} == "riscv"
CFLAGS += -msoft-float
ACFLAGS += -msoft-float
.endif
# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
.if !defined(NO_CPU_CFLAGS)

View File

@ -58,11 +58,6 @@ 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