Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Дата
Msg-id Pine.UW2.4.58.0403191353490.13470@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Fri, 19 Mar 2004, Bruce Momjian wrote:

> 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.
>
>
they need to be passed to BOTH compiles and Links.



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

В списке pgsql-patches по дате отправления:

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 7.4.2 Build broken on (Sparc) Solaris 7 and 8