Making e2fsprogs crossbuild.

svn path=/nixpkgs/trunk/; revision=20379
This commit is contained in:
Lluís Batlle i Rossell 2010-03-04 14:44:31 +00:00
parent 2880af03c8
commit f2830f5636

View file

@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
buildInputs = [pkgconfig libuuid];
crossAttrs = {
preConfigure = ''
export CC=$crossConfig-gcc
'';
};
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
configureFlags = "--enable-elf-shlibs --disable-libuuid --disable-libblkid --disable-uuidd --disable-fsck";