diff --git a/src/Makefile.global.in b/src/Makefile.global.in index e87c1ba8efc475cfde15149b01bdf09cf00841c8..c67eb9d0f5101012cf6f421198ac428e329aecce 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,5 +1,5 @@ # -*-makefile-*- -# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.182 2004/05/11 21:57:14 momjian Exp $ +# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.183 2004/05/13 23:05:54 momjian Exp $ #------------------------------------------------------------------------------ # All PostgreSQL makefiles include this file and use the variables it sets, @@ -177,6 +177,12 @@ ifeq ($(GCC), yes) 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@