Make mtdtools crossbuild.

svn path=/nixpkgs/trunk/; revision=31381
This commit is contained in:
Lluís Batlle i Rossell 2012-01-06 22:42:10 +00:00
parent b9c72433cc
commit 3e1ee548ba

View File

@ -21,6 +21,10 @@ stdenv.mkDerivation {
buildInputs = [ libuuid lzo zlib acl ];
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
meta = {
description = "Tools for MTD filesystems";
license = "GPLv2+";