Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-06-20 05:41:53


On Sat, Jun 18, 2005 at 06:24:40PM +0200, Julio M. Merino Vidal wrote:

> Siezing the opportunity, I've also included a small fix for threading usage
> (it's just to use -lpthread rather than -pthread during link in NetBSD).

Is that really a fix? -pthread should imply -lpthread for GCC, except
that passing -pthread to GCC will do the right thing wrt other flags such
as -pg, so that it chooses -lpthread_pg - you've short-circuited that
behaviour.

If someone builds with -sGXX='g++ -pg' then your change will prevent GCC
from expanding -pthread -> -lpthread_pg, is that intended?

I'm not familiar with NetBSD, so if it is a fix, please explain why.

jon

-- 
"The value of a technical conversation is inversely proportional to
 how well the participants are dressed."
	- Larry McVoy

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk