summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2009-12-17 06:54:51 +0000
committermrg <mrg@NetBSD.org>2009-12-17 06:54:51 +0000
commit1a9afd264352df5b852cf43edb21b5bb7af3bb30 (patch)
tree40e22bd5faaf654dfc0b155998daa1e1ae2ee75a /lib/libc
parent8924d9d6693c05f54f344802f67dac9691545325 (diff)
don't warn about mcount on mips64* as well.
XXX: someone really should fix mips profile.h's MCOUNT!
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gmon/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
index a3d27cc311d..f735d56baa1 100644
--- a/lib/libc/gmon/Makefile.inc
+++ b/lib/libc/gmon/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 2008/07/29 14:20:12 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.9 2009/12/17 06:54:51 mrg Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# gmon sources
@@ -10,7 +10,8 @@ SRCS+= gmon.c mcount.c
MAN+= moncontrol.3
MLINKS+=moncontrol.3 monstartup.3
-.if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel")
+.if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel") || \
+ (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
# and mcount.c causes warnings from as(1).
# mcount.c should be fixed and this test removed.