treewide: avoid fatal warnings from gcc7

This commit is contained in:
Vladimír Čunát
2018-02-10 12:06:02 +01:00
parent 5699a12b80
commit 0a941e0b66
3 changed files with 8 additions and 2 deletions

View File

@@ -69,7 +69,10 @@ let
fontconfig perl file bootjdk
];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
NIX_CFLAGS_COMPILE = [
"-Wno-error=deprecated-declarations"
"-Wno-error=format-overflow" # newly detected by gcc7
];
NIX_LDFLAGS = if minimal then null else "-lfontconfig -lXcursor -lXinerama";