qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] configure: change endian cross compilation test


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] configure: change endian cross compilation test
Date: Wed, 14 Mar 2012 16:54:34 +0000
User-agent: KMail/1.13.7 (Linux/3.2.0-1-amd64; KDE/4.7.4; x86_64; ; )

> From: Stuart Yoder <address@hidden>
> 
> Previous check in configure's endian test was to determine if
> this is a cross-compile build by testing whether --cross-prefix
> was used.  This does not work for cross build environments
> like Yocto that may set CC instead of --cross-prefix.
> 
> Instead, test whether host compiler is same as target compiler,
> which also works when --cross-prefix is used.

I'd much rather remove this test altogether.  If the cross case doesn't give 
the right answer for all the host systems we care about then we should fix 
that.

Paul



reply via email to

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