xen: Ignore GCC8 errors
This commit is contained in:
parent
1987bddea8
commit
dc0e697038
@ -167,8 +167,15 @@ callPackage (import ./generic.nix (rec {
|
|||||||
xenpmdpatch
|
xenpmdpatch
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fix build on Glibc 2.24.
|
NIX_CFLAGS_COMPILE = [
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
# Fix build on Glibc 2.24
|
||||||
|
"-Wno-error=deprecated-declarations"
|
||||||
|
# Fix build with GCC8
|
||||||
|
"-Wno-error=maybe-uninitialized"
|
||||||
|
"-Wno-error=stringop-truncation"
|
||||||
|
"-Wno-error=format-truncation"
|
||||||
|
"-Wno-error=array-bounds"
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
|
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
|
||||||
|
Loading…
Reference in New Issue
Block a user