Source-Changes-HG archive

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

[src/trunk]: src/lib/libm e_sqrtl.c requires fenv.h, so only build it on plat...



details:   https://anonhg.NetBSD.org/src/rev/84030fcb1e52
branches:  trunk
changeset: 791495:84030fcb1e52
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 21 11:21:54 2013 +0000

description:
e_sqrtl.c requires fenv.h, so only build it on platfomrs supporting that

diffstat:

 lib/libm/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f6c71a672b26 -r 84030fcb1e52 lib/libm/Makefile
--- a/lib/libm/Makefile Thu Nov 21 11:08:08 2013 +0000
+++ b/lib/libm/Makefile Thu Nov 21 11:21:54 2013 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.150 2013/11/19 19:24:33 joerg Exp $
+#  $NetBSD: Makefile,v 1.151 2013/11/21 11:21:54 martin Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -67,7 +67,7 @@
 .elif (${MACHINE_ARCH} == "sparc64")
 .PATH: ${.CURDIR}/arch/sparc64
 COMMON_SRCS+= fenv.c s_nexttowardf.c \
-       s_nearbyint.c s_rintl.c
+       s_nearbyint.c s_rintl.c e_sqrtl.c
 .ifndef _COMPAT_M32_MK_
 COMMON_SRCS+= s_nexttoward.c
 .endif
@@ -80,7 +80,7 @@
 .PATH: ${.CURDIR}/arch/i387
 
 COMMON_SRCS+= fenv.c s_nexttoward.c s_nexttowardf.c \
-       s_nearbyint.c s_rintl.c
+       s_nearbyint.c s_rintl.c e_sqrtl.c
 COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
 
 ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \
@@ -156,7 +156,7 @@
        e_j1.c e_j1f.c e_jn.c e_jnf.c e_lgamma_r.c e_lgammaf_r.c e_log.c \
        e_log2.c e_log10.c e_log10f.c e_log2f.c e_logf.c e_pow.c e_powf.c \
        e_rem_pio2.c e_rem_pio2f.c e_remainder.c e_remainderf.c e_scalb.c \
-       e_scalbf.c e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c e_sqrtl.c \
+       e_scalbf.c e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c \
        k_cos.c k_cosf.c k_rem_pio2.c k_rem_pio2f.c k_sin.c k_sinf.c \
        k_standard.c k_tan.c k_tanf.c \
        ldbl_dummy.c \



Home | Main Index | Thread Index | Old Index