Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2013 17:14:00 +0100
From:      Alex Dupre <ale@FreeBSD.org>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org, Pietro Cerutti <gahr@freebsd.org>
Subject:   Re: svn commit: r40970 - head/en_US.ISO8859-1/books/porters-handbook
Message-ID:  <511D0D48.1090000@FreeBSD.org>
In-Reply-To: <CAF6rxgmY2s79rTi8=2uOif2Oq3r0mN1bAZE2JSgV51tKwmFgjA@mail.gmail.com>
References:  <201302141435.r1EEZsXu042558@svn.freebsd.org> <511CF790.7040804@FreeBSD.org> <CAF6rxgmY2s79rTi8=2uOif2Oq3r0mN1bAZE2JSgV51tKwmFgjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eitan Adler ha scritto:
> Because a program that uses pthreads *must* use -pthread to both
> compile and link and not use -lpthread.

Is this the reason we have the following in bsd.port.mk? :-)

PTHREAD_CFLAGS?=

We are not talking about correct programming standards, we are talking
about porting software on FreeBSD. Do we really want port maintainers to
do extra work for 'purity'?

> That it happens to work is an
> implementation detail not be relied upon.

It's a *fundamental* implementation detail that I don't think anyone is
going to break.

-- 
Alex Dupre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511D0D48.1090000>