Merge pull request #172916 from armeenm/fix-cdogs-sdl

cdogs-sdl: fix
This commit is contained in:
Artturi 2022-05-14 01:24:00 +03:00 committed by GitHub
commit b3a48bf07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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