qbe: enable cross-compilation

This commit is contained in:
Coutinho de Souza
2024-03-05 20:05:38 -03:00
parent 5706443baf
commit 1bdb07e199
+4 -1
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;