From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvViA-0003JP-Lh for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvVi9-0003Ow-9L for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:46 -0400 Received: from mail-gx0-f173.google.com ([209.85.161.173]:38163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvVi9-0003Ol-6f for qemu-devel@nongnu.org; Mon, 22 Aug 2011 10:42:45 -0400 Received: by gxk26 with SMTP id 26so4291126gxk.4 for ; Mon, 22 Aug 2011 07:42:44 -0700 (PDT) Message-ID: <4E526AE2.3000902@codemonkey.ws> Date: Mon, 22 Aug 2011 09:42:42 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20110808000209.GA20139@rox.home.comstyle.com> In-Reply-To: <20110808000209.GA20139@rox.home.comstyle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Cc: qemu-devel@nongnu.org On 08/07/2011 07:02 PM, Brad wrote: > Check for presence of compiler -pthread flag. > > OpenBSD / FreeBSD and some other OS's require the use of > cc -pthread to link threaded programs so have QEMU's > configure script check for the presence of the flag > and use it if so. > > Signed-off-by: Brad Smith Applied. Thanks. Regards, Anthony Liguori > > --- > configure | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index 0c67a4a..bd850f3 100755 > --- a/configure > +++ b/configure > @@ -1858,7 +1858,7 @@ fi > > ########################################## > # pthread probe > -PTHREADLIBS_LIST="-lpthread -lpthreadGC2" > +PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" > > pthread=no > cat> $TMPC<< EOF