Date: Thu, 25 Mar 2004 19:26:53 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: David Malone <dwmalone@maths.tcd.ie> Cc: freebsd-threads@freebsd.org Subject: Re: Threads and OpenSSL Message-ID: <Pine.GSO.4.10.10403251924530.18547-100000@pcnet5.pcnet.com> In-Reply-To: <200403252200.aa94482@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Mar 2004, David Malone wrote:
> > > CFLAGS+= -DTERMIOS -DANSI_SOURCE
> > > CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
> > > +CFLAGS+= -DOPENSSL_THREADS -pthread -D_REENTRANT -D_THREAD_SAFE -D_TH
>
> > You don't need _REENTRANT, _THREAD_SAFE, or _THREADSAFE for
> > our libc.
>
> OK - I'll check they don't change anything in the OpenSSL code, and
> if they don't I'll remove them. (I think the flags were originally
> selected by a configure script somewhere...)
>
> Is it right to keep -pthread?
I think it is OK since we have said that we are going to
support gcc -pthread. -lpthread is preferred, though.
--
Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10403251924530.18547-100000>
