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

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy