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 -Wno-error=missing-prototypes is not av...
details: https://anonhg.NetBSD.org/src/rev/169c5a600d46
branches: trunk
changeset: 793225:169c5a600d46
user: martin <martin%NetBSD.org@localhost>
date: Fri Jan 31 10:35:14 2014 +0000
description:
-Wno-error=missing-prototypes is not available on gcc 4.1
diffstat:
lib/libm/compiler_rt/Makefile.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c1f0290f17f9 -r 169c5a600d46 lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 08:38:13 2014 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 10:35:14 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2013/10/15 23:59:36 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.2 2014/01/31 10:35:14 martin Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -28,6 +28,8 @@
SRCS+= ${src:R}.S
. else
SRCS+= ${src}
+. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC} != "4"
COPTS.${src}+= -Wno-error=missing-prototypes
+. endif
. endif
.endfor
Home |
Main Index |
Thread Index |
Old Index