From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqDIS-0008Mv-36 for qemu-devel@nongnu.org; Sun, 07 Aug 2011 20:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqDIQ-0004fu-Uo for qemu-devel@nongnu.org; Sun, 07 Aug 2011 20:02:20 -0400 Received: from speedy.comstyle.com ([206.51.28.2]:35339 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqDIQ-0004fj-Se for qemu-devel@nongnu.org; Sun, 07 Aug 2011 20:02:18 -0400 Received: from rox.home.comstyle.com (rox.home.comstyle.com [IPv6:2001:470:b01e:3:ca0a:a9ff:fe93:42c9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id B821098464 for ; Sun, 7 Aug 2011 20:02:12 -0400 (EDT) Date: Sun, 7 Aug 2011 20:02:11 -0400 From: Brad Message-ID: <20110808000209.GA20139@rox.home.comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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 -- 1.7.6 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.