Module Name: src
Committed By: joerg
Date: Fri May 16 00:11:30 UTC 2014
Modified Files:
src/lib/libc/compiler_rt: Makefile.inc
Log Message:
Prepare in case we want to hook up the profile init code later.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/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/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.18 src/lib/libc/compiler_rt/Makefile.inc:1.19
--- src/lib/libc/compiler_rt/Makefile.inc:1.18 Fri May 16 00:10:57 2014
+++ src/lib/libc/compiler_rt/Makefile.inc Fri May 16 00:11:30 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.18 2014/05/16 00:10:57 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.19 2014/05/16 00:11:30 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -213,9 +213,11 @@ GENERIC_SRCS+= \
SRCS+= ${src:R}.S
. else
SRCS+= ${src}
+. if ${src:E} != "cc"
COPTS.${src}+= -Wno-missing-prototypes \
-Wno-old-style-definition \
-Wno-strict-prototypes \
-Wno-uninitialized
+. endif
. endif
.endfor