Date: Tue, 12 Feb 2002 00:00:49 -0500 (EST) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG Subject: Re: UPDATED: For Review: sendmail 8.12.2 import into -CURRENT Message-ID: <Pine.GSO.4.10.10202112357590.7467-100000@pcnet1.pcnet.com> In-Reply-To: <20020212021239.30DEE9F137@okeeffe.bestweb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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= gshapiro@FreeBSD.org > + > +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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10202112357590.7467-100000>