mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00: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=address-of-packed-member"
|
||||||
"-Wno-error=format-overflow"
|
"-Wno-error=format-overflow"
|
||||||
"-Wno-error=absolute-value"
|
"-Wno-error=absolute-value"
|
||||||
|
# Fix build with GCC 10
|
||||||
|
"-Wno-error=enum-conversion"
|
||||||
|
"-Wno-error=zero-length-bounds"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user