Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libm Blindly add __TEST_FENV in the hope of fixing...



details:   https://anonhg.NetBSD.org/src/rev/7738f6bf09c6
branches:  trunk
changeset: 832991:7738f6bf09c6
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jun 04 09:13:47 2018 +0000

description:
Blindly add __TEST_FENV in the hope of fixing the vax build.

(So we can include fenv.h, and then not use it - we ifdef vax out
for OS-portability reasons.)

diffstat:

 tests/lib/libm/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 079fa5c055e2 -r 7738f6bf09c6 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile   Mon Jun 04 02:42:23 2018 +0000
+++ b/tests/lib/libm/Makefile   Mon Jun 04 09:13:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2016/12/20 06:13:19 maya Exp $
+# $NetBSD: Makefile,v 1.43 2018/06/04 09:13:47 maya Exp $
 
 .include <bsd.own.mk>
 
@@ -11,6 +11,7 @@
 CPPFLAGS.t_fenv.c+=    -D__TEST_FENV
 CPPFLAGS.t_fe_round.c+=        -D__TEST_FENV
 CPPFLAGS.t_ilogb.c+=   -D__TEST_FENV
+CPPFLAGS.t_scalbn.c+=  -D__TEST_FENV
 CPPFLAGS.t_fmod.c+=    -I${.CURDIR}/../libc/gen
 
 TESTS_C+=      t_acos



Home | Main Index | Thread Index | Old Index