Fixing nscd in glibc (thank you Ludovic!).
svn path=/nixpkgs/branches/stdenv-updates/; revision=24157
This commit is contained in:
parent
180cb34e2a
commit
fa4ef6621a
@ -76,10 +76,14 @@ stdenv.mkDerivation ({
|
|||||||
./nix-locale-archive.patch
|
./nix-locale-archive.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
# Needed for glibc to build with the gnumake 3.82
|
# Needed for glibc to build with the gnumake 3.82
|
||||||
# http://comments.gmane.org/gmane.linux.lfs.support/31227
|
# http://comments.gmane.org/gmane.linux.lfs.support/31227
|
||||||
postPatch = ''
|
|
||||||
sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile
|
sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile
|
||||||
|
|
||||||
|
# nscd needs libgcc, and we don't want it dynamically linked
|
||||||
|
# because we don't want it to depend on bootstrap-tools libs.
|
||||||
|
echo "LDFLAGS-nscd += -static-libgcc" >> nscd/Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user