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

2016-06-30 Thread Peter Maydell
On 23 June 2016 at 18:39, 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. > > However, simply using $(CC) run

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

2016-06-23 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. However, simply using $(CC) runs afoul of clang trying to build the option roms. C.f. 3dd46