Merge pull request #123543 from stephank/fix-cc65-darwin
cc65: fix darwin build
commitca669d438fb82b9f31e5a44f252f69fdac75ee39
authorAnderson Torres <torres.anderson.85@protonmail.com>
dateTue 18 May 2021, 17:34 (6 years ago)
parentb0e2820e726f80
pkgs/development/compilers/cc65/default.nix+4−1
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
1313 sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
1414 };
1515
16− makeFlags = [ "PREFIX=${placeholder "out"}"];
16+ makeFlags = [
17+ "PREFIX=${placeholder "out"}"
18+ "CC=${stdenv.cc.targetPrefix}cc"
19+ ];
1720
1821 meta = with lib; {
1922 homepage = "https://cc65.github.io/";