Module Name: src
Committed By: martin
Date: Thu Aug 22 08:24:30 UTC 2013
Modified Files:
src/lib/libm: Makefile
Log Message:
s_nexttoward.c does not make sense compiling for 32 bit sparc (double ==
long double), so ifdef it out in the sparc64 compat library build. I hope
the nextafter alias is set up correctly (where?) - and someone please
suggest a better way for this if clause.
To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 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.140 src/lib/libm/Makefile:1.141
--- src/lib/libm/Makefile:1.140 Wed Aug 21 13:06:00 2013
+++ src/lib/libm/Makefile Thu Aug 22 08:24:30 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.140 2013/08/21 13:06:00 martin Exp $
+# $NetBSD: Makefile,v 1.141 2013/08/22 08:24:30 martin Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -66,8 +66,11 @@ COMMON_SRCS+= fenv.c
COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
.elif (${MACHINE_ARCH} == "sparc64")
.PATH: ${.CURDIR}/arch/sparc64
-COMMON_SRCS+= fenv.c s_nexttoward.c s_nexttowardf.c \
+COMMON_SRCS+= fenv.c s_nexttowardf.c \
s_nearbyint.c s_rintl.c
+.ifndef _COMPAT_M32_MK_
+COMMON_SRCS+= s_nexttoward.c
+.endif
COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
.elif ((${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64"))