xen: fix build with GCC 10

Fixes: https://github.com/NixOS/nixpkgs/issues/108479
This commit is contained in:
Alyssa Ross 2021-05-01 11:35:07 +00:00 committed by Jonathan Ringer
parent 1818ef1785
commit 049efb9171

View File

@ -160,6 +160,9 @@ callPackage (import ./generic.nix (rec {
"-Wno-error=address-of-packed-member"
"-Wno-error=format-overflow"
"-Wno-error=absolute-value"
# Fix build with GCC 10
"-Wno-error=enum-conversion"
"-Wno-error=zero-length-bounds"
];
postPatch = ''