3
0
Fork 0
forked from mirrors/nixpkgs

busybox: fix minimal build with musl libc

Now we always enable large file support, as it should be cheap enough,
and avoids also problems on some filesystems #10181.

The minimal build disables (almost) all options, so it was building
without large file support. However, in musl the `off_t` is *always*
64-bit, which lead to problems, now detected during build time.
This commit is contained in:
Vladimír Čunát 2015-10-25 10:15:35 +01:00
parent d6756301cf
commit 784f69e6ae

View file

@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
CONFIG_PREFIX "$out"
CONFIG_INSTALL_NO_USR y
CONFIG_LFS y
${stdenv.lib.optionalString enableStatic ''
CONFIG_STATIC y
''}