]> granicus.if.org Git - pdns/commitdiff
Darwin has pthread in libc
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 7 Oct 2014 17:47:01 +0000 (19:47 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 7 Oct 2014 18:42:16 +0000 (20:42 +0200)
Fixes the following warning:
clang: warning: argument unused during compilation: '-pthread'

configure.ac

index 9028cfe7b73b790abb337c375db31cd4854f8428..5744f3dbbcc3e73c16fd8a9b198470bb584d4c77 100644 (file)
@@ -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)
   ;;
 *)