qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Check for presence of compiler -pthread flag
Date: Sun, 21 Aug 2011 18:48:14 +0000

Thanks, applied.

On Mon, Aug 8, 2011 at 12:02 AM, Brad <address@hidden> 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 <address@hidden>
>
> ---
>  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.
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]