qbe: enable cross-compilation
This commit is contained in:
parent
5706443baf
commit
1bdb07e199
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue