Set the soft-float flag for assembly code as well.

This fixes compilation with GCC 6.1.

Sponsored by:	DARPA, AFRL
This commit is contained in:
br 2016-07-22 15:22:49 +00:00
parent 702f33ca74
commit f96b095193

View File

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