8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd5390 commit fda3449Copy full SHA for fda3449
src/template/solaris
@@ -11,9 +11,8 @@ esac
11
12
# tools/thread/thread_test must be run
13
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
14
-if test "$GCC" = yes
15
-then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
16
- THREAD_LIBS="-pthread"
17
-else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
18
- THREAD_LIBS="-lpthread"
+THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
+if test "$GCC" != yes
+then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt"
19
fi
+THREAD_LIBS="-lpthread"
0 commit comments