Merge pull request #221216 from wegank/xen-fix

xen_4_15: fix build
This commit is contained in:
Weijia Wang 2023-03-14 23:03:49 +02:00 committed by GitHub
commit 45f1de673e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 [