1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

We have long double on arm64, and the tests pass so enable them.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2015-10-31 10:16:44 +00:00
parent caeff1fd44
commit 2dac22dcf3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290227

View File

@ -7,7 +7,9 @@ CFLAGS+= -DHAVE_FENV_H
# Not sure why this isn't defined for all architectures, since most
# have long double.
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
.if ${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "i386"
CFLAGS+= -D__HAVE_LONG_DOUBLE
.endif