Module Name:    src
Committed By:   martin
Date:           Thu Nov 21 11:21:54 UTC 2013

Modified Files:
        src/lib/libm: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/lib/libm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/Makefile
diff -u src/lib/libm/Makefile:1.150 src/lib/libm/Makefile:1.151
--- src/lib/libm/Makefile:1.150	Tue Nov 19 19:24:33 2013
+++ src/lib/libm/Makefile	Thu Nov 21 11:21:54 2013
@@ -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 @@ COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
 .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 @@ COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
 .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 @@ COMMON_SRCS+= b_exp.c b_log.c b_tgamma.c
 	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 \

Reply via email to