cdogs-sdl: fix

This commit is contained in:
Armeen Mahdian 2022-05-13 14:33:17 -05:00
parent da20988217
commit 712ded5f7a

View File

@ -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