Module Name: src
Committed By: chs
Date: Thu Mar 23 18:26:03 UTC 2017
Modified Files:
src/lib/libm: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 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.189 src/lib/libm/Makefile:1.190
--- src/lib/libm/Makefile:1.189 Wed Mar 22 23:11:08 2017
+++ src/lib/libm/Makefile Thu Mar 23 18:26:03 2017
@@ -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 @@ COPTS+= -fno-strict-aliasing
.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