Module Name: src Committed By: martin Date: Sun Aug 10 11:30:51 UTC 2014
Modified Files: src/tests/lib/libc/gen: Makefile src/tests/lib/libm: Makefile Log Message: Use the same condition for HAVE_FENV To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/tests/lib/libc/gen/Makefile cvs rdiff -u -r1.25 -r1.26 src/tests/lib/libm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/gen/Makefile diff -u src/tests/lib/libc/gen/Makefile:1.41 src/tests/lib/libc/gen/Makefile:1.42 --- src/tests/lib/libc/gen/Makefile:1.41 Sun Aug 10 05:57:31 2014 +++ src/tests/lib/libc/gen/Makefile Sun Aug 10 11:30:51 2014 @@ -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_ttyname 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 Index: src/tests/lib/libm/Makefile diff -u src/tests/lib/libm/Makefile:1.25 src/tests/lib/libm/Makefile:1.26 --- src/tests/lib/libm/Makefile:1.25 Mon Jun 16 12:54:43 2014 +++ src/tests/lib/libm/Makefile Sun Aug 10 11:30:51 2014 @@ -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