Module Name: src
Committed By: adam
Date: Mon Feb 29 14:57:07 UTC 2016
Modified Files:
src/lib/libc/compiler_rt: Makefile.inc
Log Message:
Fix buidling with MKPROFILE=no
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 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.28 src/lib/libc/compiler_rt/Makefile.inc:1.29
--- src/lib/libc/compiler_rt/Makefile.inc:1.28 Sat Feb 27 19:08:23 2016
+++ src/lib/libc/compiler_rt/Makefile.inc Mon Feb 29 14:57:07 2016
@@ -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 @@ GENERIC_SRCS+= \
InstrProfilingValue.c \
InstrProfilingWriter.c
+.if ${MKPROFILE} != "no"
POBJS+= InstrProfilingRuntime.po
+.endif
.if ${LIBC_MACHINE_ARCH} == "powerpc" || ${LIBC_MACHINE_ARCH} == "powerpc64"
GENERIC_SRCS+= \