Module Name: src
Committed By: joerg
Date: Mon Feb 3 13:30:10 UTC 2014
Modified Files:
src/lib/libm/compiler_rt: Makefile.inc
Log Message:
For ancient GCC, disable the missing prototype warning completely.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/compiler_rt/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/compiler_rt/Makefile.inc
diff -u src/lib/libm/compiler_rt/Makefile.inc:1.3 src/lib/libm/compiler_rt/Makefile.inc:1.4
--- src/lib/libm/compiler_rt/Makefile.inc:1.3 Fri Jan 31 22:17:50 2014
+++ src/lib/libm/compiler_rt/Makefile.inc Mon Feb 3 13:30:10 2014
@@ -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