Date: Wed, 25 Mar 2015 20:56:52 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Tijl Coosemans <tijl@FreeBSD.org> Cc: svn-ports-head@freebsd.org, Alexey Dokuchaev <danfe@FreeBSD.ORG>, svn-ports-all@freebsd.org, David Chisnall <theraven@FreeBSD.org>, ports-committers@freebsd.org, Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> Subject: Re: svn commit: r381955 - head/graphics/gdal Message-ID: <20150325195652.GD63722@ivaldir.etoilebsd.net> In-Reply-To: <20150324192851.082bb618@kalimero.tijl.coosemans.org> References: <201503222011.t2MKBHq7091087@svn.freebsd.org> <20150323015759.GA34402@FreeBSD.org> <22E9C187-E473-40FB-A26C-7666477BEB58@FreeBSD.org> <20150324192851.082bb618@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--a1QUDc0q7S3U7/Jg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@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). >=20 > POSIX talks about libpthread and -lpthread so that's probably the most > portable now: > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html >=20 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 --a1QUDc0q7S3U7/Jg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUTEwQACgkQ8kTtMUmk6EzjsQCcDIF1eB9l5tAE6jWE9O6UIqQn IcAAoI1usZzXuqA7hBLewW23KeWuBaVc =LCeP -----END PGP SIGNATURE----- --a1QUDc0q7S3U7/Jg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150325195652.GD63722>