From 00ed587acc2d63dbe48a034cf3c0cb4b4e76b60a Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 3 Feb 2014 13:30:10 +0000 Subject: For ancient GCC, disable the missing prototype warning completely. --- lib/libm/compiler_rt/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libm/compiler_rt/Makefile.inc b/lib/libm/compiler_rt/Makefile.inc index bab2b9437eb..a4f418c0bcb 100644 --- a/lib/libm/compiler_rt/Makefile.inc +++ b/lib/libm/compiler_rt/Makefile.inc @@ -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:R}.S SRCS+= ${src} . if ${HAVE_GCC:U} != "4" COPTS.${src}+= -Wno-error=missing-prototypes +. else +COPTS.${src}+= -Wno-missing-prototypes . endif . endif .endfor -- cgit