Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> It seems that what we have to do for Unixware is add
> >> -Kpthread to LDFLAGS; is that correct?
>
> > Unusually, this platform doesn't have a THREAD_LIBS setting, only
> > THREAD_CPPFLAGS. so I have to use that.
>
> If Larry quoted the Compiler Guys correctly, then that is *wrong*,
> and we should put -Kpthread into THREAD_LIBS.
Yes, his patch ended up adding this to THREAD_LIBS, but
template/unixware has:
For gcc:
THREAD_CPPFLAGS="-pthread"
and for non-gcc:
THREAD_CPPFLAGS="-K pthread"
Larry, are these wrong?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073