diff options
| author | Paolo Bonzini | 2016-07-20 21:36:49 +0200 |
|---|---|---|
| committer | Peter Maydell | 2016-07-29 14:56:52 +0200 |
| commit | 036999e93e4913e29cd5fd751750677074e8747e (patch) | |
| tree | 9c19359052993c8c0b87034cb820ca8a33c2f278 /docs | |
| parent | Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160729' into staging (diff) | |
| download | qemu-036999e93e4913e29cd5fd751750677074e8747e.tar.gz qemu-036999e93e4913e29cd5fd751750677074e8747e.tar.xz qemu-036999e93e4913e29cd5fd751750677074e8747e.zip | |
optionrom: fix detection of -Wa,-32
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 <stefanha@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1469043409-14033-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
