Remove per-architecture checks for enabling HAVE_FENV_H

The conditional came from NetBSD, where only select architectures have this
header/support

All architectures on FreeBSD have the necessary support though, so the
conditional's completely unnecessary

make tinderbox done on all architectures (including arm64, where the issue
occurred before) this time

X-MFC with: r282057, r282092
MFC after: 6 days
This commit is contained in:
Enji Cooper 2015-04-27 18:01:52 +00:00
parent 57fa545aaa
commit b18bade8c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282106

View File

@ -6,11 +6,8 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
TESTSDIR= ${TESTSBASE}/lib/msun
.if ${MACHINE} == "sparc" || ${MACHINE} == "i386" \
|| ${MACHINE} == "amd64" || ${MACHINE_CPUARCH} == "arm" \
|| ${MACHINE} == "sparc64"
# All architectures on FreeBSD have fenv.h
CFLAGS+= -DHAVE_FENV_H
.endif
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
CFLAGS+= -D__HAVE_LONG_DOUBLE