git.iko.soy/typeable/nixpkgs
on master help sign in
xen: Ignore GCC8 errors
commitdc0e697038b2a26adf5a551c1d479ab39f470db5 authorDaniel Schaefer <git@danielschaefer.me> dateFri 13 Sep 2019, 15:12 (7 years ago) parent1987bdd
1 file changed+9−2
pkgs/applications/virtualization/xen/4.8.nix+9−2
pkgs/applications/virtualization/xen/4.8.nix+9−2
@@ -167,8 +167,15 @@ callPackage (import ./generic.nix (rec {
167167 xenpmdpatch
168168 ];
169169
170− # Fix build on Glibc 2.24.
171− NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
170+ NIX_CFLAGS_COMPILE = [
171+ # Fix build on Glibc 2.24
172+ "-Wno-error=deprecated-declarations"
173+ # Fix build with GCC8
174+ "-Wno-error=maybe-uninitialized"
175+ "-Wno-error=stringop-truncation"
176+ "-Wno-error=format-truncation"
177+ "-Wno-error=array-bounds"
178+ ];
172179
173180 postPatch = ''
174181 # Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.