On 20 July 2016 at 20:36, Paolo Bonzini <pbonz...@redhat.com> wrote: > The cc-option macro runs $(CC) in -S mode (generate assembly) to avoid a > pointless run of the assembler. However, this does not work when you want > to detect support for cc->as option passthrough. clang ignores -Wa unless > -c is provided, and exits successfully even if the -Wa,-32 option is not > supported. > > Reported-by: Stefan Hajnoczi <stefa...@gmail.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > ---
Applied to master, thanks (since it fixes BSD builds). -- PMM