treewide: add targetPrefix to hardcoded references to CC=cc

This commit is contained in:
Ben Siraphob
2021-02-20 01:01:46 +07:00
parent ad4db3f4d8
commit 223f25cf4a
53 changed files with 56 additions and 56 deletions
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
patchPhase = "sed -i -e '/^CFLAGS *?= *-g *$/d' Makefile";
makeFlags = [ "CC=cc" "PREFIX=${placeholder "out"}" ];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "Klondike Solitaire in your ncurses terminal";