Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/usr.bin/ctfmerge don't link/depend on li...
details: https://anonhg.NetBSD.org/src/rev/21139d79689f
branches: trunk
changeset: 343278:21139d79689f
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 27 18:43:25 2016 +0000
description:
don't link/depend on libpthread if we are a hostprog.
XXX: should be using -pthread instead?
diffstat:
external/cddl/osnet/usr.bin/ctfmerge/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 10c43f4317df -r 21139d79689f external/cddl/osnet/usr.bin/ctfmerge/Makefile
--- a/external/cddl/osnet/usr.bin/ctfmerge/Makefile Wed Jan 27 15:55:18 2016 +0000
+++ b/external/cddl/osnet/usr.bin/ctfmerge/Makefile Wed Jan 27 18:43:25 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2015/09/29 20:31:43 christos Exp $
+# $NetBSD: Makefile,v 1.8 2016/01/27 18:43:25 christos Exp $
# $FreeBSD: src/cddl/usr.bin/ctfmerge/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $
@@ -28,7 +28,10 @@
tdata.c \
traverse.c \
util.c
+
+.if (${HOSTPROG:U} == "")
LDADD+=-lpthread
DPADD+=${LIBPTHREAD}
+.endif
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index