Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/compiler_rt For ancient GCC, disable the missing pr...



details:   https://anonhg.NetBSD.org/src/rev/177dbc76dfc0
branches:  trunk
changeset: 326566:177dbc76dfc0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Feb 03 13:30:10 2014 +0000

description:
For ancient GCC, disable the missing prototype warning completely.

diffstat:

 lib/libm/compiler_rt/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fcf9ef02b07e -r 177dbc76dfc0 lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Mon Feb 03 13:20:20 2014 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Mon Feb 03 13:30:10 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2014/01/31 22:17:50 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2014/02/03 13:30:10 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -30,6 +30,8 @@
 SRCS+= ${src}
 .    if ${HAVE_GCC:U} != "4"
 COPTS.${src}+= -Wno-error=missing-prototypes
+.    else
+COPTS.${src}+= -Wno-missing-prototypes
 .    endif
 .  endif
 .endfor



Home | Main Index | Thread Index | Old Index