cataclysm-dda: fix build on darwin
This commit is contained in:
parent
66237e1bca
commit
43442880cf
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user