clang can't use pthread(s) flag
This commit is contained in:
parent
a2189d2f55
commit
8e5dab1ef3
@ -5,7 +5,7 @@
|
||||
|
||||
# Git hooks should come before autoreconf.
|
||||
if test -d .git; then
|
||||
if ! test -d .git; then
|
||||
if ! test -d .git/hooks; then
|
||||
mkdir .git/hooks
|
||||
fi
|
||||
ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
|
||||
|
@ -160,7 +160,11 @@ case ${host_os} in
|
||||
;;
|
||||
|
||||
darwin*)
|
||||
if test "$CC" = "clang"; then
|
||||
ax_pthread_flags="$ax_pthread_flags"
|
||||
else
|
||||
ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user