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
This commit is contained in:
Lluís Batlle i Rossell 2010-10-15 09:17:34 +00:00
parent aa19343599
commit 262bcb3f58

View file

@ -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 = [