Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib Use the same condition for HAVE_FENV



details:   https://anonhg.NetBSD.org/src/rev/27d3228af386
branches:  trunk
changeset: 331390:27d3228af386
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 10 11:30:51 2014 +0000

description:
Use the same condition for HAVE_FENV

diffstat:

 tests/lib/libc/gen/Makefile |  4 ++--
 tests/lib/libm/Makefile     |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 96a9d8d6c297 -r 27d3228af386 tests/lib/libc/gen/Makefile
--- a/tests/lib/libc/gen/Makefile       Sun Aug 10 10:15:39 2014 +0000
+++ b/tests/lib/libc/gen/Makefile       Sun Aug 10 11:30:51 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2014/08/10 05:57:31 matt Exp $
+# $NetBSD: Makefile,v 1.42 2014/08/10 11:30:51 martin Exp $
 
 .include <bsd.own.mk>
 
@@ -42,7 +42,7 @@
 TESTS_C+=      t_vis
 
 .if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
-    || ${MACHINE_CPU} == "sparc" \
+    || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
     || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS.t_siginfo.c+= -DHAVE_FENV
 LDADD.t_siginfo+=      -lm
diff -r 96a9d8d6c297 -r 27d3228af386 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile   Sun Aug 10 10:15:39 2014 +0000
+++ b/tests/lib/libm/Makefile   Sun Aug 10 11:30:51 2014 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.25 2014/06/16 12:54:43 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2014/08/10 11:30:51 martin Exp $
 
 .include <bsd.own.mk>
 
 TESTSDIR=      ${TESTSBASE}/lib/libm
 
-.if ${MACHINE} == "sparc" || ${MACHINE} == "i386" \
-       || ${MACHINE} == "amd64" || ${MACHINE_CPU} == "arm"     \
-       || ${MACHINE} == "sparc64"
+.if ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm" \
+    || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" \
+    || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=     -DHAVE_FENV_H
 .endif
 



Home | Main Index | Thread Index | Old Index