Simplify the tests for 32-bit arm soft float support. For the files included only on arm, drop the test entirely. For others, test MACHINE_CPUARCH against arm. No functional change intended. File lists appear the same before / after the change. Sponsored by: Netflix Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38582
11 lines
209 B
Makefile
11 lines
209 B
Makefile
# $FreeBSD$
|
|
|
|
LDBL_PREC = 53
|
|
SYM_MAPS += ${.CURDIR}/arm/Symbol.map
|
|
|
|
.if defined(CPUTYPE) && ${CPUTYPE:M*soft*} != ""
|
|
ARCH_SRCS = fenv-softfp.c fenv-vfp.c
|
|
.endif
|
|
|
|
CFLAGS.fenv-vfp.c= -mfpu=vfp -mfloat-abi=softfp
|