[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] configure: use correct cflags in compiler check
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] Re: [PATCH] configure: use correct cflags in compiler checks |
Date: |
Wed, 11 Nov 2009 14:51:41 +0200 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
On Wed, Nov 11, 2009 at 01:49:06PM +0100, Juan Quintela wrote:
> "Michael S. Tsirkin" <address@hidden> wrote:
>
> Hi
>
> > @@ -1585,7 +1605,7 @@ int main(void)
> > return 0;
> > }
> > EOF
> > -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
> > +if compile_prog "$ARCH_CFLAGS" "" ; then
>
> s/$ARCH_CFLAGS//
>
> ARCH_CFLAGS died long ago.
ACK.
> We need to do the same change for dup3
OK.
> This code was this way from the beggining. I agree that it is better to
> move the QEMU_CFLAGS to the top of the file.
>
> Later, Juan.