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:
Ruslan Bukin 2016-07-22 15:22:49 +00:00
parent b6f0282782
commit 9ddd36c20a

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