mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
xen: fix build with GCC 10
Fixes: https://github.com/NixOS/nixpkgs/issues/108479
This commit is contained in:
parent
1818ef1785
commit
049efb9171
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue