Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Date
Msg-id 200403191953.i2JJrQi22377@candle.pha.pa.us
Whole thread Raw
Responses Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
List pgsql-patches
Larry Rosenman wrote:
> > 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?


> Nope, those work, and should be passed to any libpq-using programs
> link step if --enable-thread-safety is used.

But they currently CPPFLAGS.  They should be lib flags.

--
  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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Next
From: Larry Rosenman
Date:
Subject: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use