Revert r303911 "Remove extra -msoft-float flags settings."
This was not properly tested.
This commit is contained in:
parent
b44d5b4a49
commit
01a62066c3
@ -327,6 +327,11 @@ 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,6 +58,11 @@ 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…
x
Reference in New Issue
Block a user