Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> 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
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to