Making e2fsprogs crossbuild.
svn path=/nixpkgs/trunk/; revision=20379
This commit is contained in:
parent
2880af03c8
commit
f2830f5636
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue