xen_4_15: fix build

This commit is contained in:
Weijia Wang 2023-03-14 22:57:08 +02:00
parent 1d70ba2c45
commit 63c033e2a0

View File

@ -144,6 +144,9 @@ callPackage (import ./generic.nix (rec {
# Fix build with GCC 10
"-Wno-error=enum-conversion"
"-Wno-error=zero-length-bounds"
# Fix build with GCC 12
# xentoollog_stubs.c:57: error: "Some_val" redefined [-Werror]
"-Wno-error"
];
patches = with xsa; flatten [