cc65: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-18 18:56:00 +02:00
parent 6be706bbe5
commit e726f8034f

View file

@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "01a15yvs455qp20hri2pbg2wqvcip0d50kb7dibi9427hqk9cnj4";
};
makeFlags = [ "PREFIX=${placeholder "out"}"];
makeFlags = [
"PREFIX=${placeholder "out"}"
"CC=${stdenv.cc.targetPrefix}cc"
];
meta = with lib; {
homepage = "https://cc65.github.io/";