The uclibc used in bootstrap-tools needs some options to allow bzip2 to build

with it.


svn path=/nixpkgs/branches/stdenv-updates/; revision=23414
This commit is contained in:
Lluís Batlle i Rossell 2010-08-24 22:29:58 +00:00
parent 7ab81fe75f
commit e7c47f424f

View File

@ -10,7 +10,15 @@ rec {
aclSupport = false; aclSupport = false;
}); });
gccLinkStatic = wrapGCCWith (import ../../build-support/gcc-wrapper) uclibc # bzip2 wants utime.h, a header 'legacy' in uclibc
uclibcForBzip2 = uclibc.override {
extraConfig = ''
UCLIBC_SUSV3_LEGACY y
UCLIBC_SUSV4_LEGACY y
'';
};
gccLinkStatic = wrapGCCWith (import ../../build-support/gcc-wrapper) uclibcForBzip2
stdenv.gcc.gcc; stdenv.gcc.gcc;
stdenvLinkStatic = overrideGCC stdenv gccLinkStatic; stdenvLinkStatic = overrideGCC stdenv gccLinkStatic;