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:
parent
702f33ca74
commit
f96b095193
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user