summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-10-31 10:16:44 +0000
committerandrew <andrew@FreeBSD.org>2015-10-31 10:16:44 +0000
commiteabb88fc2ae9b668b07a95074480e23e0dd27e8a (patch)
tree9c4d823d9fb5d48156f83b9f7ee69e18be58fbeb /lib/msun
parentcab8578a147d77880fe77357266fc36b42e943e3 (diff)
downloadFreeBSD-src-eabb88fc2ae9b668b07a95074480e23e0dd27e8a.zip
FreeBSD-src-eabb88fc2ae9b668b07a95074480e23e0dd27e8a.tar.gz
We have long double on arm64, and the tests pass so enable them.
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile
index 7888c3c..61fd83e 100644
--- a/lib/msun/tests/Makefile
+++ b/lib/msun/tests/Makefile
@@ -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
OpenPOWER on IntegriCloud