Re: [HACKERS] threads stuff/UnixWare - Mailing list pgsql-patches

From Larry Rosenman
Subject Re: [HACKERS] threads stuff/UnixWare
Date
Msg-id 041347EB4D5EF622F16646BC@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: [HACKERS] threads stuff/UnixWare  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] threads stuff/UnixWare
List pgsql-patches

--On Thursday, May 13, 2004 20:03:24 -0400 Bruce Momjian
<pgman@candle.pha.pa.us> wrote:

> Tom Lane wrote:
>> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> > So we just add the thing in the template file?  Yea, I can do that.  I
>> > did it there because Win32 already had something for libs.  Does the
>> > template file get included in Makefile.global?  I didn't think so.
>>
>> Not the template, the port-specific makefile.
>
> Oh, I forgot about those.  Done.

I did this patch, and it works:


$ cvs diff -u Makefile.unixware
Index: Makefile.unixware
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/makefiles/Makefile.unixware,v
retrieving revision 1.17
diff -u -r1.17 Makefile.unixware
--- Makefile.unixware   5 Jan 2003 13:45:47 -0000       1.17
+++ Makefile.unixware   14 May 2004 00:06:07 -0000
@@ -25,6 +25,7 @@
 else
 SO_FLAGS = -G
 endif
+CFLAGS += $(PTHREAD_CFLAGS)

 %.so: %.o
        $(CC) $(SO_FLAGS) -o $@ $<
$

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

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] threads stuff/UnixWare
Next
From: "Mahesh Swamy"
Date:
Subject: Re: SetDataBaseName