cataclysm-dda: fix build on darwin

This commit is contained in:
Franz Pletz
2019-12-27 05:12:49 +01:00
parent 66237e1bca
commit 43442880cf

View File

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