3
0
Fork 0
forked from mirrors/nixpkgs

curseofwar,curseofwar-sdl: fix darwin build

This commit is contained in:
Francesco Gazzetta 2020-07-30 10:49:09 +02:00
parent 68b7fc27c4
commit 5d85ffea09

View file

@ -20,7 +20,11 @@ stdenv.mkDerivation rec {
SDL
];
makeFlags = (if isNull SDL then [] else [ "SDL=yes" ]) ++ [ "PREFIX=$(out)" ];
makeFlags = (if isNull SDL then [] else [ "SDL=yes" ]) ++ [
"PREFIX=$(out)"
# force platform's cc on darwin, otherwise gcc is used
"CC=${stdenv.cc.targetPrefix}cc"
];
meta = with stdenv.lib; {
description = "A fast-paced action strategy game";