diff options
author | Bruce Momjian | 2004-05-14 00:03:07 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-05-14 00:03:07 +0000 |
commit | 5dc33c9835eab400dc2befbfe50b3b1db35e1026 (patch) | |
tree | c702080abe7306c7e1574f4b8e1e9208c49d1a04 | |
parent | a5ad12aca8539b25fea53568471b9b152869a371 (diff) |
Move unixware thread stuff into Makefile.unixware.
-rw-r--r-- | src/Makefile.global.in | 6 | ||||
-rw-r--r-- | src/makefiles/Makefile.unixware | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index e9682b49cf..e0f997ab62 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -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 9e4d715932..04eebb6816 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" + + |