forked from wolfSSL/wolfssl
clang can't use pthread(s) flag
This commit is contained in:
@@ -160,7 +160,11 @@ case ${host_os} in
|
||||
;;
|
||||
|
||||
darwin*)
|
||||
ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
if test "$CC" = "clang"; then
|
||||
ax_pthread_flags="$ax_pthread_flags"
|
||||
else
|
||||
ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user