Add mention of "-D_POSIX_PTHREAD_SEMANTICS" enabling 5-arg getpwuid_r().
This commit is contained in:
parent
0de45c1c27
commit
08c0aa7281
@ -10,6 +10,7 @@ case $host in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# tools/thread/thread_test must be run
|
# tools/thread/thread_test must be run
|
||||||
|
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
|
||||||
if test "$GCC" = yes
|
if test "$GCC" = yes
|
||||||
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
|
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
|
||||||
THREAD_LIBS="-pthread"
|
THREAD_LIBS="-pthread"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user