mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-31 21:30:38 -07:00
Some of the roms build with -march=i486 -m16 which is incompatible with -fcf-protection. That in turn is can be set by default, for example in Ubuntu [1]. That causes: cc1: error: ‘-fcf-protection’ is not compatible with this target This won't work on -march=i486 -m16 and no matter if set or not we can override it to "none" if the option is known to the compiler to be able to build reliably. Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889 [1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220323090713.1002588-1-christian.ehrhardt@canonical.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| code16gcc.h | ||
| flat.lds | ||
| kvmvapic.S | ||
| linuxboot.S | ||
| linuxboot_dma.c | ||
| Makefile | ||
| multiboot.S | ||
| multiboot_dma.S | ||
| optionrom.h | ||
| optrom.h | ||
| optrom_fw_cfg.h | ||
| pvh.S | ||
| pvh_main.c | ||