Source-Changes-HG archive

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

[src/trunk]: src/tools/ctfmerge use -pthread for more portability



details:   https://anonhg.NetBSD.org/src/rev/5de3daacf1cc
branches:  trunk
changeset: 343279:5de3daacf1cc
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 27 18:43:44 2016 +0000

description:
use -pthread for more portability

diffstat:

 tools/ctfmerge/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 21139d79689f -r 5de3daacf1cc tools/ctfmerge/Makefile
--- a/tools/ctfmerge/Makefile   Wed Jan 27 18:43:25 2016 +0000
+++ b/tools/ctfmerge/Makefile   Wed Jan 27 18:43:44 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2014/03/09 17:12:03 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2016/01/27 18:43:44 christos Exp $
 
 NOMAN= # defined
 
@@ -34,7 +34,7 @@
 LDADD+=                -L${ELFOBJ} -lelf
 
 # need native pthread support
-LDADD+=                -lpthread
+COPTS+=                -pthread
 
 .PATH:         ${OPENSOLARIS_DISTDIR}/tools/ctf/common
 .PATH:         ${OPENSOLARIS_DISTDIR}/tools/ctf/cvt



Home | Main Index | Thread Index | Old Index