diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-30 08:11:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-30 08:47:58 +0100 |
commit | 8428bce4545ff8e59ca4a96881003f43ae60b446 (patch) | |
tree | ffc05490aa40843990feef83cb9842c2c48399f4 | |
parent | 55f0631d5ba1c05373db663e888e6442344e6dc3 (diff) | |
download | meta-mingw-8428bce4545ff8e59ca4a96881003f43ae60b446.tar.gz |
qemu: Disable incompatible-pointer-types warning as error on mingw
GCC-14 promoted this warning into error by default but code does not
build cleanly and now this warning becomes a hard error. Work around
it for now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | recipes-devtools/qemu/qemu_%.bbappend | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu_%.bbappend b/recipes-devtools/qemu/qemu_%.bbappend new file mode 100644 index 0000000..3aae4b6 --- /dev/null +++ b/recipes-devtools/qemu/qemu_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | # GCC-14 treats this warning as error which results in | ||
2 | # build failures | ||
3 | CFLAGS:append:mingw32 = " -Wno-error=incompatible-pointer-types" | ||