mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Force thread flags for all Unixware builds if threading is requested.
This is required because once you link with a library that uses threads, all references to that library have to use thread flags.
This commit is contained in:
parent
a676b852e8
commit
5e938d831a
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-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,
|
# 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
|
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Unixware needs threads for everything that uses libpq
|
||||||
|
ifeq ($(PORTNAME),unixware)
|
||||||
|
CFLAGS += "$PTHREAD_CFLAGS"
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Kind-of compilers
|
# Kind-of compilers
|
||||||
|
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user