Remove extra -msoft-float flags settings.
This helps to build firmware modules. Sponsored by: DARPA, AFRL Sponsored by: HEIF5
This commit is contained in:
parent
68c30b183a
commit
5d5018f88a
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user