curseofwar,curseofwar-sdl: fix darwin build

gstqt5
Francesco Gazzetta 2020-07-30 10:49:09 +02:00
parent 68b7fc27c4
commit 5d85ffea09
1 changed files with 5 additions and 1 deletions

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";