Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gmon Use --no-warn only with GCC on MIPS.



details:   https://anonhg.NetBSD.org/src/rev/3921d02bcb43
branches:  trunk
changeset: 332346:3921d02bcb43
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Sep 17 11:37:28 2014 +0000

description:
Use --no-warn only with GCC on MIPS.

diffstat:

 lib/libc/gmon/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cf52de46d7ac -r 3921d02bcb43 lib/libc/gmon/Makefile.inc
--- a/lib/libc/gmon/Makefile.inc        Wed Sep 17 11:02:55 2014 +0000
+++ b/lib/libc/gmon/Makefile.inc        Wed Sep 17 11:37:28 2014 +0000
@@ -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 @@
 # 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
 
 



Home | Main Index | Thread Index | Old Index