diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/template/solaris | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/template/solaris b/src/template/solaris index 7534c7fe578..07c79e9067e 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -11,8 +11,8 @@ esac # tools/thread/thread_test must be run if test "$GCC" = yes -then THREAD_LIBS="-pthread" -else THREAD_CPPFLAGS="-mt" +then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" + THREAD_LIBS="-pthread" +else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" fi - |