mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* Fix e2fsprogs on dietlibc on i686-linux.
svn path=/nixpkgs/trunk/; revision=7772
This commit is contained in:
parent
66706c592e
commit
def1bec4cd
1 changed files with 4 additions and 1 deletions
|
@ -15,5 +15,8 @@ stdenv.mkDerivation {
|
|||
preInstall = "installFlagsArray=('LN=ln -s')";
|
||||
postInstall = "make install-libs";
|
||||
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…
Reference in a new issue