From ff474c241d95127fa71fd635146195bccef1fde6 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 17 Sep 2014 11:37:28 +0000 Subject: [PATCH] Use --no-warn only with GCC on MIPS. --- lib/libc/gmon/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc index d44e8160abb5..eff0810d8962 100644 --- a/lib/libc/gmon/Makefile.inc +++ b/lib/libc/gmon/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.10 2011/01/23 06:27:32 matt Exp $ +# $NetBSD: Makefile.inc,v 1.11 2014/09/17 11:37:28 joerg Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 # gmon sources @@ -15,7 +15,7 @@ MLINKS+=moncontrol.3 monstartup.3 # and mcount.c causes warnings from as(1). # mcount.c should be fixed and this test removed. # -COPTS.mcount.c+=-Wa,--no-warn +COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wa,--no-warn :} .endif