define __TEST_FENV in the makefile for t_fe_round

should fix vax build (it doesn't have fenv.h)
This commit is contained in:
maya 2016-12-20 06:13:19 +00:00
parent 893cb91179
commit 0e07096e88

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.41 2016/12/19 17:38:24 maya Exp $
# $NetBSD: Makefile,v 1.42 2016/12/20 06:13:19 maya Exp $
.include <bsd.own.mk>
@ -9,6 +9,7 @@ COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.endif
CPPFLAGS.t_fenv.c+= -D__TEST_FENV
CPPFLAGS.t_fe_round.c+= -D__TEST_FENV
CPPFLAGS.t_ilogb.c+= -D__TEST_FENV
CPPFLAGS.t_fmod.c+= -I${.CURDIR}/../libc/gen