* Fix e2fsprogs on dietlibc on i686-linux.
svn path=/nixpkgs/trunk/; revision=7772
This commit is contained in:
parent
66706c592e
commit
def1bec4cd
@ -15,5 +15,8 @@ stdenv.mkDerivation {
|
|||||||
preInstall = "installFlagsArray=('LN=ln -s')";
|
preInstall = "installFlagsArray=('LN=ln -s')";
|
||||||
postInstall = "make install-libs";
|
postInstall = "make install-libs";
|
||||||
NIX_CFLAGS_COMPILE =
|
NIX_CFLAGS_COMPILE =
|
||||||
if stdenv ? isDietLibC then "-UHAVE_SYS_PRCTL_H -DHAVE_LSEEK64_PROTOTYPE=1 -Dstat64=stat" else "";
|
if stdenv ? isDietLibC then
|
||||||
|
"-UHAVE_SYS_PRCTL_H " +
|
||||||
|
(if stdenv.system == "x86_64-linux" then "-DHAVE_LSEEK64_PROTOTYPE=1 -Dstat64=stat" else "")
|
||||||
|
else "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user