mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
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
5f8228b2f3
commit
2d700cb557
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303911
@ -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