[PATCH] Tweak to NetBSD -pthread option
Jason R Thorpe
thorpej@wasabisystems.com
Mon Oct 28 15:25:00 GMT 2002
On Mon, Oct 28, 2002 at 04:55:05PM -0600, Loren James Rittle wrote:
> > * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
> > tm_defines if pthreads are enabled.
> > * config/netbsd.h (LIB_SPEC): Only support the -pthread option
> > if NETBSD_ENABLE_PTHREADS is defined.
>
> FYI, when FreeBSD made a similar change, we were asked to only place
> new defines for a port in a new file added to tm_file.
Hm, that's easy though. Though, I've recently seen some things pulled
out of separate files and into tm_defines (c.f. default byte-order for
MIPS targets).
I'm happy to do it either way... is there documentation on what the
actual policy is? (If not, there should be :-)
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Gcc-patches
mailing list