Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm Define HAVE_FENV_H on architectures that supp...
details: https://anonhg.NetBSD.org/src/rev/c6b5602fb8fa
branches: trunk
changeset: 327266:c6b5602fb8fa
user: martin <martin%NetBSD.org@localhost>
date: Mon Mar 03 12:15:27 2014 +0000
description:
Define HAVE_FENV_H on architectures that support it.
What a mess, we need a central place for this!
diffstat:
tests/lib/libm/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r c51db1b082ce -r c6b5602fb8fa tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile Mon Mar 03 12:12:18 2014 +0000
+++ b/tests/lib/libm/Makefile Mon Mar 03 12:15:27 2014 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: Makefile,v 1.20 2013/11/12 16:48:39 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2014/03/03 12:15:27 martin Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/lib/libm
+.if ${MACHINE} == "sparc" || ${MACHINE} == "i386" \
+ || ${MACHINE} == "amd64" || ${MACHINE_CPU} == "arm" \
+ || ${MACHINE} == "sparc64"
+CPPFLAGS+= -DHAVE_FENV_H
+.endif
+
TESTS_C+= t_acos
TESTS_C+= t_asin
TESTS_C+= t_atan
Home |
Main Index |
Thread Index |
Old Index