Source-Changes-HG archive

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

[src/trunk]: src/lib/libm sun2 just has to be different, of course.



details:   https://anonhg.NetBSD.org/src/rev/7183987dd6bf
branches:  trunk
changeset: 822521:7183987dd6bf
user:      chs <chs%NetBSD.org@localhost>
date:      Thu Mar 23 18:26:03 2017 +0000

description:
sun2 just has to be different, of course.
it doesn't use the libc softfloat and thus doesn't set MKSOFTFLOAT=yes.
enable the fenv functions here explicitly for now.

diffstat:

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

diffs (18 lines):

diff -r 6efd8ef30bf7 -r 7183987dd6bf lib/libm/Makefile
--- a/lib/libm/Makefile Thu Mar 23 18:08:06 2017 +0000
+++ b/lib/libm/Makefile Thu Mar 23 18:26:03 2017 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.189 2017/03/22 23:11:08 chs Exp $
+#  $NetBSD: Makefile,v 1.190 2017/03/23 18:26:03 chs Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -206,7 +206,7 @@
 .endif
 CPPFLAGS+=-DLIBM_SCCS
 
-.if ${MKSOFTFLOAT} != "no"
+.if (${MKSOFTFLOAT} != "no" || ${MACHINE_ARCH} == "m68000")
 .PATH: ${.CURDIR}/softfloat
 .include "${.CURDIR}/../libc/libcincludes.mk"
 CPPFLAGS+=     -I${ARCHDIR}/softfloat



Home | Main Index | Thread Index | Old Index