tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: any objections to adding -D_PTHREADS in mk/pthread.builtin.mk and pthread.buildlink.mk



On Thu, Oct 10, 2013 at 08:36:59AM +0200, Richard PALO wrote:
> >@@ -61,7 +61,7 @@ BUILDLINK_LDFLAGS.pthread=    # empty
> > # XXX
> > # XXX This should really be a check for GCC!
> > # XXX
> >-BUILDLINK_OPSYS_SUPPORT_PTHREAD=       DragonFly FreeBSD Linux MirBSD 
> >NetBSD OpenBSD
> >+BUILDLINK_OPSYS_SUPPORT_PTHREAD=       DragonFly FreeBSD Linux MirBSD 
> >NetBSD OpenBSD SunOS
> > .    if !empty(BUILDLINK_OPSYS_SUPPORT_PTHREAD:M${OPSYS})
> > BUILDLINK_CFLAGS.pthread+=     -pthread
> > BUILDLINK_LDFLAGS.pthread+=    -pthread
> 
> 
> OKAY?

Sounds good to me. Maybe the XXX should now be addressed as well? Joerg?

Martin


Home | Main Index | Thread Index | Old Index