aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-14 00:03:07 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-14 00:03:07 +0000
commit3f41675f6a34a55e248b0c8a84ec559102259e3c (patch)
tree70cfd3529fd8c03347ae6da1c934f5d9bd384c7e /src
parent5e938d831aee7ea44cc6d791ee13800436f771bb (diff)
downloadpostgresql-3f41675f6a34a55e248b0c8a84ec559102259e3c.tar.gz
postgresql-3f41675f6a34a55e248b0c8a84ec559102259e3c.zip
Move unixware thread stuff into Makefile.unixware.
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"
+
+