not everyone has fenv.c, pointed by Havard Eidnes

This commit is contained in:
christos 2011-01-31 15:06:01 +00:00
parent fb562d62f0
commit ae8a4fc798
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.102 2011/01/31 00:19:33 christos Exp $
# $NetBSD: Makefile,v 1.103 2011/01/31 15:06:01 christos Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@ -52,6 +52,7 @@ USE_SHLIBDIR= yes
ARCH_SRCS = s_copysign.S s_copysignf.S lrint.S
.elif (${MACHINE_ARCH} == "sparc64")
.PATH: ${.CURDIR}/arch/sparc64
COMMON_SRCS+= fenv.c
.elif ((${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64"))
.if (${MACHINE_ARCH} == "x86_64")
@ -176,7 +177,7 @@ NOIEEE_SRCS = n_asincos.c n_acosh.c n_asinh.c n_atan.c n_atanh.c n_cosh.c \
.if (${MACHINE_ARCH} == "vax")
SRCS= ${NOIEEE_SRCS} ${NOIEEE_ARCH}
.else
SRCS= ${COMMON_SRCS} fenv.c
SRCS= ${COMMON_SRCS}
.endif
.ifdef ARCH_ADDS