git.iko.soy/typeable/nixpkgs
on master help sign in
xen: fix build with GCC 10

Fixes: https://github.com/NixOS/nixpkgs/issues/108479

commit049efb917104b2476b4aaf13fa1a5b7444621baf authorAlyssa Ross <hi@alyssa.is> dateSat 1 May 2021, 11:35 (6 years ago) parent1818ef1
1 file changed+3
pkgs/applications/virtualization/xen/4.10.nix+3
pkgs/applications/virtualization/xen/4.10.nix+3
@@ -160,6 +160,9 @@ callPackage (import ./generic.nix (rec {
160160 "-Wno-error=address-of-packed-member"
161161 "-Wno-error=format-overflow"
162162 "-Wno-error=absolute-value"
163+ # Fix build with GCC 10
164+ "-Wno-error=enum-conversion"
165+ "-Wno-error=zero-length-bounds"
163166 ];
164167
165168 postPatch = ''