Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e938d8

Browse files
committed
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.
1 parenta676b85 commit5e938d8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/Makefile.global.in

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.182 2004/05/11 21:57:14 momjian Exp $
2+
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.183 2004/05/13 23:05:54 momjian Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -177,6 +177,12 @@ ifeq ($(GCC), yes)
177177
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
178178
endif
179179

180+
# Unixware needs threads for everything that uses libpq
181+
ifeq ($(PORTNAME),unixware)
182+
CFLAGS += "$PTHREAD_CFLAGS"
183+
endif
184+
185+
180186
# Kind-of compilers
181187

182188
YACC = @YACC@

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp