Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compiler_rt Prepare in case we want to hook up the ...



details:   https://anonhg.NetBSD.org/src/rev/060fbe6674b6
branches:  trunk
changeset: 329236:060fbe6674b6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 16 00:11:30 2014 +0000

description:
Prepare in case we want to hook up the profile init code later.

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 96ed6293884f -r 060fbe6674b6 lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Fri May 16 00:10:57 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Fri May 16 00:11:30 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index