HardenedBSD/lib/msun/arm/Makefile.inc
Andrew Turner 4f35216187 Build fenv-vfp.c with the softfp float abi. Without this gcc generates an
incorrect assembly file that doesn't allow for vfp instructions.
2014-03-16 09:38:43 +00:00

13 lines
214 B
Makefile

# $FreeBSD$
LDBL_PREC = 53
SYM_MAPS += ${.CURDIR}/arm/Symbol.map
.if ${TARGET_ARCH} == "armv6"
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
.endif
CFLAGS.fenv-vfp.c= -mfloat-abi=softfp
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}