Skip to content

Commit 64fe1fd

Browse files
committed
Update Solaris thread flags, per Jim Seymour
1 parent 04226b6 commit 64fe1fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/template/solaris

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ esac
1111

1212
# tools/thread/thread_test must be run
1313
if test "$GCC" = yes
14-
then THREAD_LIBS="-pthread"
15-
else THREAD_CPPFLAGS="-mt"
14+
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
15+
THREAD_LIBS="-pthread"
16+
else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
1617
THREAD_LIBS="-lpthread"
1718
fi
18-

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