qbe: enable cross-compilation

This commit is contained in:
Coutinho de Souza 2024-03-01 12:37:53 -03:00
parent 5706443baf
commit 1bdb07e199
No known key found for this signature in database
GPG key ID: 59081FCB8F9AABB5

View file

@ -12,7 +12,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-UgtJnZF/YtD54OBy9HzGRAEHx5tC9Wo2YcUidGwrv+s=";
};
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [
"PREFIX=$(out)"
"CC=${stdenv.cc.targetPrefix}cc"
];
doCheck = true;