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/a7518b8f47fc
branches:  trunk
changeset: 802488:a7518b8f47fc
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 1cd628f4fb91 -r a7518b8f47fc 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