aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in8
-rw-r--r--src/makefiles/Makefile.unixware5
2 files changed, 6 insertions, 7 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index c67eb9d0f51..1f74e2fa4c1 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.183 2004/05/13 23:05:54 momjian Exp $
+# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.184 2004/05/14 00:03:07 momjian Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -177,12 +177,6 @@ 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@
diff --git a/src/makefiles/Makefile.unixware b/src/makefiles/Makefile.unixware
index 9e4d715932a..04eebb68167 100644
--- a/src/makefiles/Makefile.unixware
+++ b/src/makefiles/Makefile.unixware
@@ -30,3 +30,8 @@ endif
$(CC) $(SO_FLAGS) -o $@ $<
sqlmansect = 5sql
+
+# Unixware needs threads for everything that uses libpq
+CFLAGS += "$PTHREAD_CFLAGS"
+
+