summaryrefslogtreecommitdiffstats
path: root/pkgs/games/cdogs-sdl
diff options
context:
space:
mode:
authorArmeen Mahdian <mahdianarmeen@gmail.com>2022-05-13 14:33:17 -0500
committerArmeen Mahdian <mahdianarmeen@gmail.com>2022-05-13 14:33:17 -0500
commit712ded5f7ad69f8c02772d3f5fd96e7de7f5c8fd (patch)
treefd33cc7deaff86b17e753b663493419eb28888ff /pkgs/games/cdogs-sdl
parentda209882175b22c106926b8d486fa11000bcbc0e (diff)
cdogs-sdl: fix
Diffstat (limited to 'pkgs/games/cdogs-sdl')
-rw-r--r--pkgs/games/cdogs-sdl/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/cdogs-sdl/default.nix b/pkgs/games/cdogs-sdl/default.nix
index 2b072a447523..474fd735f73d 100644
--- a/pkgs/games/cdogs-sdl/default.nix
+++ b/pkgs/games/cdogs-sdl/default.nix
@@ -26,7 +26,10 @@ stdenv.mkDerivation rec {
patchShebangs src/proto/nanopb/generator/*
'';
- cmakeFlags = [ "-DCDOGS_DATA_DIR=${placeholder "out"}/" ];
+ cmakeFlags = [
+ "-DCDOGS_DATA_DIR=${placeholder "out"}/"
+ "-DCMAKE_C_FLAGS=-Wno-error=array-bounds"
+ ];
nativeBuildInputs = [
pkg-config