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 Fix buidling with MKPROFILE=no



details:   https://anonhg.NetBSD.org/src/rev/f6f839bdad39
branches:  trunk
changeset: 343868:f6f839bdad39
user:      adam <adam%NetBSD.org@localhost>
date:      Mon Feb 29 14:57:07 2016 +0000

description:
Fix buidling with MKPROFILE=no

diffstat:

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

diffs (19 lines):

diff -r 2a0ffffb4ecb -r f6f839bdad39 lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Mon Feb 29 09:35:16 2016 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Mon Feb 29 14:57:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.28 2016/02/27 19:08:23 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.29 2016/02/29 14:57:07 adam Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -216,7 +216,9 @@
        InstrProfilingValue.c \
        InstrProfilingWriter.c
 
+.if ${MKPROFILE} != "no"
 POBJS+= InstrProfilingRuntime.po
+.endif
 
 .if ${LIBC_MACHINE_ARCH} == "powerpc" || ${LIBC_MACHINE_ARCH} == "powerpc64"
 GENERIC_SRCS+= \



Home | Main Index | Thread Index | Old Index