Skip to content

Commit 8baf824

Browse files
authored
oneko: fix build by disabling some compiler warnings (#368759)
2 parents d568faa + d113675 commit 8baf824

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/by-name/on/oneko/package.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
3131
"BINDIR=$(out)/bin"
3232
"MANPATH=$(out)/share/man"
3333
];
34+
35+
env.NIX_CFLAGS_COMPILE = toString [
36+
"-Wno-implicit-function-declaration"
37+
"-Wno-endif-labels"
38+
"-Wno-implicit-int"
39+
];
40+
3441
installTargets = [
3542
"install"
3643
"install.man"

0 commit comments

Comments
 (0)