svn commit: r381955 - head/graphics/gdal

Baptiste Daroussin bapt at FreeBSD.org
Wed Mar 25 19:56:58 UTC 2015


On Tue, Mar 24, 2015 at 07:28:51PM +0100, Tijl Coosemans wrote:
> On Mon, 23 Mar 2015 09:18:40 +0000 David Chisnall <theraven at FreeBSD.org> wrote:
> > The -pthread flag was proposed for inclusion in UNIX98, but was never
> > consistently or widely adopted.  It's basically dead now, though not
> > actively harmful.  There is no particular reason to prefer one form to
> > the other (-pthread is, in theory, more portable, though theory and
> > practice can differ).
> 
> POSIX talks about libpthread and -lpthread so that's probably the most
> portable now:
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html
> 
The thing is both clang and gcc have special handling for -pthread, so it is
probably safer to use -pthread when we do have to set it ourself

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20150325/440777cd/attachment.sig>


More information about the svn-ports-head mailing list