Build fenv-vfp.c with the softfp float abi. Without this gcc generates an

incorrect assembly file that doesn't allow for vfp instructions.
This commit is contained in:
Andrew Turner 2014-03-16 09:38:43 +00:00
parent 7afd1d0205
commit 4f35216187
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263230

View File

@ -7,3 +7,6 @@ SYM_MAPS += ${.CURDIR}/arm/Symbol.map
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
.endif
CFLAGS.fenv-vfp.c= -mfloat-abi=softfp
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}