Module Name: src
Committed By: mrg
Date: Mon Mar 29 06:59:42 UTC 2010
Modified Files:
src/lib/libm: Makefile
Log Message:
build s_frexp.c, s_ldexp.c and s_modf.c here for new platforms, since they
don't exist as compat functions in libc.
current list of new platforms: powerpc64.
from [email protected] in PR#43042. idea to not put compat
functions into new platforms from droch...@netbsd.
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 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.92 src/lib/libm/Makefile:1.93
--- src/lib/libm/Makefile:1.92 Mon Jan 11 16:28:39 2010
+++ src/lib/libm/Makefile Mon Mar 29 06:59:42 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2010/01/11 16:28:39 christos Exp $
+# $NetBSD: Makefile,v 1.93 2010/03/29 06:59:42 mrg Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -140,8 +140,13 @@
llroundf.c \
s_fmax.c s_fmaxf.c s_fmaxl.c s_fmin.c s_fminf.c s_fminl.c s_fdim.c
-# Also in libc.
-#COMMON_SRCS += s_frexp.c s_ldexp.c s_modf.c
+#
+# Add these for machines which don't have compatibility functions in libc,
+# since they appeared later than they became libc compatibility.
+#
+.if (${MACHINE_ARCH} == "powerpc64")
+COMMON_SRCS += s_frexp.c s_ldexp.c s_modf.c
+.endif
.PATH: ${.CURDIR}/compat
COMMON_SRCS+= compat_cabs.c compat_cabsf.c