cataclysm-dda: fix build on darwin
This commit is contained in:
parent
66237e1bca
commit
43442880cf
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue