aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-10-31 10:16:44 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-10-31 10:16:44 +0000
commit2dac22dcf38447afb0331b8fedb96edf305027fa (patch)
tree9c4d823d9fb5d48156f83b9f7ee69e18be58fbeb
parentcaeff1fd44b2dfec5e3d00c852d305e991bf5746 (diff)
downloadsrc-2dac22dcf38447afb0331b8fedb96edf305027fa.tar.gz
src-2dac22dcf38447afb0331b8fedb96edf305027fa.zip
We have long double on arm64, and the tests pass so enable them.
Sponsored by: ABT Systems Ltd
Notes
Notes: svn path=/head/; revision=290227
-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 7888c3c789f8..61fd83ee1533 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