cataclysm-dda: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 13:18:25 +01:00
parent dffcb87383
commit 65eb7fe785
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation (common // rec {
substituteInPlace lua/autoexec.lua --replace "/usr/share" "$out/share"
'';
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-copy" ];
makeFlags = common.makeFlags ++ [
"LUA=1"
];