From de7c5b720331cb73ceaebe3dcbb50eb55391b649 Mon Sep 17 00:00:00 2001 From: chs Date: Thu, 23 Mar 2017 18:26:03 +0000 Subject: [PATCH] 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. --- lib/libm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libm/Makefile b/lib/libm/Makefile index 414e5cb4e83c..2428693e1b26 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -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