Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+3-3
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)