From: Anthony Liguori <anthony@codemonkey.ws>
To: Brad <brad@comstyle.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag
Date: Mon, 22 Aug 2011 09:42:42 -0500 [thread overview]
Message-ID: <4E526AE2.3000902@codemonkey.ws> (raw)
In-Reply-To: <20110808000209.GA20139@rox.home.comstyle.com>
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<brad@comstyle.com>
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
prev parent reply other threads:[~2011-08-22 14:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 0:02 [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag Brad
2011-08-11 23:28 ` Brad
2011-08-21 18:48 ` Blue Swirl
2011-08-22 14:42 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E526AE2.3000902@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=brad@comstyle.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.