mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
7ab81fe75f
commit
e7c47f424f
@ -10,7 +10,15 @@ rec {
|
||||
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;
|
||||
stdenvLinkStatic = overrideGCC stdenv gccLinkStatic;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user