OSDN Git Service

Move unixware thread stuff into Makefile.unixware.
authorBruce Momjian <bruce@momjian.us>
Fri, 14 May 2004 00:03:07 +0000 (00:03 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 14 May 2004 00:03:07 +0000 (00:03 +0000)
src/Makefile.global.in
src/makefiles/Makefile.unixware

index c67eb9d..1f74e2f 100644 (file)
@@ -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@
index 9e4d715..04eebb6 100644 (file)
@@ -30,3 +30,8 @@ endif
        $(CC) $(SO_FLAGS) -o $@ $<
 
 sqlmansect = 5sql
+
+# Unixware needs threads for everything that uses libpq
+CFLAGS += "$PTHREAD_CFLAGS"
+
+