From: Ruben Kerkhof Date: Tue, 7 Oct 2014 17:47:01 +0000 (+0200) Subject: Darwin has pthread in libc X-Git-Tag: rec-3.7.0-rc1~209^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=625f59db1c23a79c51cfd71d1ece6af966c59ce4;p=thirdparty%2Fpdns.git Darwin has pthread in libc Fixes the following warning: clang: warning: argument unused during compilation: '-pthread' --- diff --git a/configure.ac b/configure.ac index 9028cfe7b7..5744f3dbbc 100644 --- a/configure.ac +++ b/configure.ac @@ -172,8 +172,7 @@ linux*) darwin*) AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6]) DYNLINKFLAGS="-rdynamic" - LDFLAGS="-pthread $LDFLAGS" - CXXFLAGS="-pthread $CXXFLAGS -D__APPLE_USE_RFC_3542" + CXXFLAGS="-D__APPLE_USE_RFC_3542 $CXXFLAGS" AM_CONDITIONAL([OS_MACOSX], true) ;; *)