mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
b6f0282782
commit
9ddd36c20a
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue