Skip to content

Commit b72c1b9

Browse files
committed
Adjustment for unixware threading.
1 parent bb0b73c commit b72c1b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/template/unixware

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
if test "$GCC" = yes; then
22
CFLAGS=-O2
3+
THREAD_CFLAGS="-pthread"
34
else
45
# the -Kno_host is temporary for a bug in the compiler. See -hackers
56
# discussion on 7-8/Aug/2003.
67
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
78
CFLAGS='-O -Kinline,no_host'
9+
THREAD_CFLAGS="-K pthread"
810
fi
911

1012
SUPPORTS_THREADS=yes
11-
THREAD_CFLAGS="-D_REENTRANT -K pthread"
13+
THREAD_CFLAGS += -D_REENTRANT
1214
NEED_REENTRANT_FUNC_NAMES=yes

0 commit comments

Comments
 (0)