From: Ruben Kerkhof Date: Fri, 6 Mar 2015 15:44:28 +0000 (+0100) Subject: Use THREADFLAGS on FreeBSD X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~63^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ca3e75b8eeb81b476651a3b1ff0d4015fc86e63;p=thirdparty%2Fpdns.git Use THREADFLAGS on FreeBSD Instead of modifying LDFLAGS and CXXFLAGS Fixes a few of these: c++: warning: argument unused during compilation: '-pthread' --- diff --git a/configure.ac b/configure.ac index 740aa579d7..831786e3f4 100644 --- a/configure.ac +++ b/configure.ac @@ -153,8 +153,7 @@ darwin*) CXXFLAGS="-D__APPLE_USE_RFC_3542 -D_XOPEN_SOURCE $CXXFLAGS" ;; freebsd*) - LDFLAGS="-pthread $LDFLAGS" - CXXFLAGS="-pthread $CXXFLAGS" + THREADFLAGS="-pthread" have_freebsd="yes" ;; *)