qemu-e2k/pc-bios/optionrom
Paolo Bonzini 036999e93e 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>
2016-07-29 13:56:52 +01:00
..
code16gcc.h Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
kvmvapic.S
linuxboot_dma.c Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
linuxboot.S
Makefile optionrom: fix detection of -Wa,-32 2016-07-29 13:56:52 +01:00
multiboot.S
optionrom.h fw_cfg: Split fw_cfg_keys.h off fw_cfg.h 2016-03-22 22:20:16 +01:00