On Sun, 10 Feb 2002, Andrey A. Chernov wrote:
> On Sun, Feb 10, 2002 at 12:13:05 -0800, Gregory Neil Shapiro wrote:
> > 
> > http://people.freebsd.org/~gshapiro/CURRENT-8.12.2
> 
> --- lib/libmilter/Makefile~orig       Sun Jan 20 13:58:03 2002
> +++ lib/libmilter/Makefile    Sun Jan 20 13:05:02 2002
> @@ -0,0 +1,28 @@
> +# $FreeBSD$
> +
> +MAINTAINER=  [EMAIL PROTECTED]
> +
> +SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
> +.PATH:       ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
> +
> +CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
> +CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf
> +CFLAGS+=-pthread

> ^^^^^^^^^^^^^^^^^^^^^^
> 
> Why you add -pthread? IMHO it is needed only on program building 'ld' 
> phase and not in library building. See libc_r/Makefile

And in -current, we don't want to use -pthread any longer.  A threaded
app built in -current should compile with -D_THREAD_SAFE (for POSIX
semantics, but is really a noop in FreeBSD) and link with -lc_r.
-pthread is deprecated.

-- 
Dan Eischen



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to