Re: [Qemu-devel] [PATCH] build: Use $(CC) for compiling .S files

2016-06-20 Thread Richard Henderson
On 06/20/2016 06:43 AM, Peter Maydell wrote: On 18 June 2016 at 07:47, Richard Henderson wrote: We fail to pass to AS all of the different flags that may be required for a given set of CFLAGS. Rather than figuring out the host-specific mapping, it's better to allow the compiler driver to do th

Re: [Qemu-devel] [PATCH] build: Use $(CC) for compiling .S files

2016-06-20 Thread Peter Maydell
On 18 June 2016 at 07:47, Richard Henderson wrote: > We fail to pass to AS all of the different flags that > may be required for a given set of CFLAGS. Rather than > figuring out the host-specific mapping, it's better to > allow the compiler driver to do that. > > This fixes e.g. ../configure --c

[Qemu-devel] [PATCH] build: Use $(CC) for compiling .S files

2016-06-17 Thread Richard Henderson
We fail to pass to AS all of the different flags that may be required for a given set of CFLAGS. Rather than figuring out the host-specific mapping, it's better to allow the compiler driver to do that. This fixes e.g. ../configure --cpu=i686, but would also be required for ppc and sparc. Signed-