treewide: add targetPrefix to hardcoded references to CC=cc

This commit is contained in:
Ben Siraphob
2021-02-16 18:48:46 +07:00
parent ad4db3f4d8
commit 223f25cf4a
53 changed files with 56 additions and 56 deletions

View File

@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp perl ];
makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals stdenv.isDarwin [ "CC=cc" ];
makeFlags = [ "PREFIX=$(out)" ] ++ lib.optionals stdenv.isDarwin [ "CC=${stdenv.cc.targetPrefix}cc" ];
src = fetchurl {
url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz";