Larry Rosenman wrote:
> > Really? You are configuring with --enable-thread-safety? I just
> > updated your template in CVS, and it is attached. However, any old CVS
> > should work fine.
> Nope, initdb is where we still die:
Patch applied:
Force thread flags for all Unixware builds if threading is requested.
This is required because once you link with a library that uses threads,
all references to that library have to use thread 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
Index: src/Makefile.global.in
===================================================================
RCS file: /cvsroot/pgsql-server/src/Makefile.global.in,v
retrieving revision 1.182
diff -c -c -r1.182 Makefile.global.in
*** src/Makefile.global.in 11 May 2004 21:57:14 -0000 1.182
--- src/Makefile.global.in 13 May 2004 23:03:12 -0000
***************
*** 177,182 ****
--- 177,188 ----
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
endif
+ # Unixware needs threads for everything that uses libpq
+ ifeq ($(PORTNAME),unixware)
+ CFLAGS += "$PTHREAD_CFLAGS"
+ endif
+
+
# Kind-of compilers
YACC = @YACC@