From fa4ef6621a22d09fa87539d685fd824bdf8c4ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 7 Oct 2010 21:59:31 +0000 Subject: [PATCH] Fixing nscd in glibc (thank you Ludovic!). svn path=/nixpkgs/branches/stdenv-updates/; revision=24157 --- pkgs/development/libraries/glibc-2.12/common.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index 8786f8895ab1..66c6b0eaf9ac 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -76,10 +76,14 @@ stdenv.mkDerivation ({ ./nix-locale-archive.patch ]; - # Needed for glibc to build with the gnumake 3.82 - # http://comments.gmane.org/gmane.linux.lfs.support/31227 postPatch = '' + # Needed for glibc to build with the gnumake 3.82 + # http://comments.gmane.org/gmane.linux.lfs.support/31227 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 = [