Re: [Qemu-devel] [PATCH] configure: set cross_cc_FOO from cc, not host_cc

2018-10-19 Thread Richard Henderson
On 10/19/18 3:43 AM, Alex Bennée wrote: > The purpose of the code is to use the designated compiler for building > the targets test cases. This is not actually host_cc which will still > be cc even when we are cross compiling. As the tests for $cpu all use > $cc we should do the same. > > Signed-o

Re: [Qemu-devel] [PATCH] configure: set cross_cc_FOO from cc, not host_cc

2018-10-19 Thread Philippe Mathieu-Daudé
On 19/10/2018 12:43, Alex Bennée wrote: > The purpose of the code is to use the designated compiler for building > the targets test cases. This is not actually host_cc which will still > be cc even when we are cross compiling. As the tests for $cpu all use > $cc we should do the same. > > Signed-o

Re: [Qemu-devel] [PATCH] configure: set cross_cc_FOO from cc, not host_cc

2018-10-19 Thread Thomas Huth
On 2018-10-19 12:43, Alex Bennée wrote: > The purpose of the code is to use the designated compiler for building > the targets test cases. This is not actually host_cc which will still > be cc even when we are cross compiling. As the tests for $cpu all use > $cc we should do the same. > > Signed-o

[Qemu-devel] [PATCH] configure: set cross_cc_FOO from cc, not host_cc

2018-10-19 Thread Alex Bennée
The purpose of the code is to use the designated compiler for building the targets test cases. This is not actually host_cc which will still be cc even when we are cross compiling. As the tests for $cpu all use $cc we should do the same. Signed-off-by: Alex Bennée Reported-by: Richard Henderson