mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
cbc120b22c
point support. The fenv-vfp.c file overrides -mfloat-abi so it can use floating point instructions if it detects support at runtime. Make it also override -mfpu in case the user has set -mfpu=none.
13 lines
224 B
Makefile
13 lines
224 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= -mfpu=vfp -mfloat-abi=softfp
|
|
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
|
|
|