Date: Sun, 10 Jun 2001 18:52:19 -0500 From: Will Andrews <will@physics.purdue.edu> To: John Polstra <jdp@polstra.com> Cc: ports@FreeBSD.ORG, mjacob@feral.com Subject: Re: not sure if this is a good patch or not... (fwd) Message-ID: <20010610185219.F9537@bohr.physics.purdue.edu> In-Reply-To: <200106092142.f59LgcL55293@vashon.polstra.com>; from jdp@polstra.com on Sat, Jun 09, 2001 at 02:42:38PM -0700 References: <20010609132536.R4572-100000@wonky.feral.com> <200106092142.f59LgcL55293@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 09, 2001 at 02:42:38PM -0700, John Polstra (jdp@polstra.com) wrote: > Not a good patch. Add "-pthread" to LDFLAGS instead. The patch as > it stands will link in both -lc_r and -lc, but the two cannot coexist > safely. Actually, ${PTHREAD_LIBS} is better than either -pthread or -lc_r, since the former is correct for 4.x and the latter is correct for 5.0-CURRENT. Using regex to do this is good. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010610185219.F9537>