Module Name: src
Committed By: martin
Date: Fri Jan 31 10:35:15 UTC 2014
Modified Files:
src/lib/libm/compiler_rt: Makefile.inc
Log Message:
-Wno-error=missing-prototypes is not available on gcc 4.1
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 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.1 src/lib/libm/compiler_rt/Makefile.inc:1.2
--- src/lib/libm/compiler_rt/Makefile.inc:1.1 Tue Oct 15 23:59:36 2013
+++ src/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 10:35:14 2014
@@ -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 @@ GENERIC_SRCS+= \
SRCS+= ${src:R}.S
. else
SRCS+= ${src}
+. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC} != "4"
COPTS.${src}+= -Wno-error=missing-prototypes
+. endif
. endif
.endfor