xen_4_10: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-05 01:01:15 +01:00
parent 65debce600
commit 50dad9e873
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

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