Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built. svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
This commit is contained in:
@@ -10,6 +10,10 @@ stdenv.mkDerivation {
|
||||
|
||||
makeFlags = ["TREE=\$(out)"];
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = [ "TREE=\$(out)" "CC=${stdenv.cross.config}-gcc" ];
|
||||
};
|
||||
|
||||
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
|
||||
|
||||
patches = [./malloc.patch];
|
||||
|
||||
Reference in New Issue
Block a user