add nexttoward for mips64 and aarch64
This commit is contained in:
parent
b766bbedd5
commit
c2e78b1bda
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.201 2017/08/17 13:58:39 he Exp $
|
||||
# $NetBSD: Makefile,v 1.202 2017/08/21 17:10:34 christos Exp $
|
||||
#
|
||||
# @(#)Makefile 5.1beta 93/09/24
|
||||
#
|
||||
@ -60,7 +60,7 @@ ARCH_SRCS+= s_fma.S s_fmaf.S s_fmax.S s_fmaxf.S s_fmin.S s_fminf.S
|
||||
.if ${MKSOFTFLOAT} == "no"
|
||||
COMMON_SRCS+= fenv.c
|
||||
.endif
|
||||
COMMON_SRCS+= s_rintl.c
|
||||
COMMON_SRCS+= s_nexttoward.c s_rintl.c
|
||||
COMMON_SRCS+= e_sqrtl.c
|
||||
COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
|
||||
|
||||
@ -195,6 +195,10 @@ COMMON_SRCS += fenv.c
|
||||
COMMON_SRCS += fenv.c
|
||||
.endif
|
||||
COMMON_SRCS+= s_rintl.c
|
||||
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \
|
||||
&& (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32))
|
||||
COMMON_SRCS+= s_nexttoward.c
|
||||
.endif
|
||||
|
||||
.elif (${LIBC_MACHINE_CPU} == "sh3")
|
||||
.PATH: ${.CURDIR}/arch/sh3
|
||||
|
Loading…
Reference in New Issue
Block a user