Skip to content

Commit

Permalink
curseofwar,curseofwar-sdl: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz committed Jul 30, 2020
1 parent 68b7fc2 commit 5d85ffe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/games/curseofwar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 5d85ffe

Please sign in to comment.