summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2016-10-14 17:29:29 +0000
committermacallan <macallan@NetBSD.org>2016-10-14 17:29:29 +0000
commit281ae80e39972b5017b5f3ecf72dfa2d3005c565 (patch)
tree112d1934dd75b6f1ee389f663d6dd434fe84dd9a
parentf6012477b1826849cb9d2df364b60cc0d3d13f92 (diff)
build libc_fp only on mips64*
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 89cef7c46d7..edf4197e84f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.247 2016/10/11 17:02:28 macallan Exp $
+# $NetBSD: Makefile,v 1.248 2016/10/14 17:29:29 macallan Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -40,7 +40,7 @@ LIBC_MACHINE_CPU?=${MACHINE_CPU}
SUBDIR+= libc_vfp
.endif
.endif
-.if ${MACHINE_CPU} == "mips"
+.if ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb"
SUBDIR+= libc_fp
.endif
.if (${MKRUMP} != "no")