Date: Tue, 9 Sep 2003 16:14:04 -0700 (PDT) From: Doug Barton <DougB@FreeBSD.org> To: Khairil Yusof <kaeru@pd.jaring.my> Cc: freebsd-current@freebsd.org Subject: Re: -pthread deprecated, but when? Message-ID: <20030909161233.C42161@12-234-22-23.pyvrag.nggov.pbz> In-Reply-To: <1063113297.64124.76.camel@wolverine.home.net> References: <20030909042349.GA686@chihiro.leafy.idv.tw> <200309090942.17317@harrymail> <1063113297.64124.76.camel@wolverine.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Sep 2003, Khairil Yusof wrote: > On Tue, 2003-09-09 at 16:07, Doug Barton wrote: > > > Any occurences of -lc_r should be changed to ${PTHREAD_LIBS} too. > > Seems that -lc_r is set by default in bsd.port.mk for ${PTHREAD_LIBS}. The reason we use the variable is that it expands differently on different platforms, so in theory it's always doing the right thing. > Does it mean that we should be able to specify a pthread library in > future as a make option for installing ports? It means that you should always use the existing method of substituting any instances of -pthread or -lc_r that are hard coded into a port with ${PTHREAD_LIBS}. Doug -- This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030909161233.C42161>