From 262bcb3f5808aad6031eb549a7d2ccb5250ce7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 15 Oct 2010 09:17:34 +0000 Subject: [PATCH] Blind commit enabling the '-lssp' for nscd in glibc2.12 It looks like we need it when building the glibc212 attribute using nixpkgs's gcc, instead of bootstrap-tools'. svn path=/nixpkgs/branches/stdenv-updates/; revision=24296 --- pkgs/development/libraries/glibc-2.12/common.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index 66c6b0eaf9a..2951c631d85 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -83,7 +83,9 @@ stdenv.mkDerivation ({ # 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 + # It also needs -lssp when building with nixpkgs gcc (not of + # boostrap-tools) + echo "LDFLAGS-nscd += -static-libgcc -lssp" >> nscd/Makefile ''; configureFlags = [