util-linux: Use `--disable-partx' when cross-building for GNU.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32729
This commit is contained in:
Ludovic Courtès 2012-03-01 21:48:29 +00:00
parent 0b6223cff2
commit a55fac1a87

View File

@ -5330,7 +5330,7 @@ let
# `libblkid' fails to build on GNU/Hurd.
configureFlags = args.configureFlags
+ " --disable-libblkid --disable-mount --disable-libmount"
+ " --disable-fsck --enable-static";
+ " --disable-fsck --enable-static --disable-partx";
doCheck = false;
CPPFLAGS = # ugly hack for ugly software!
lib.concatStringsSep " "