glibc 2.11: Link against `libssp'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=18507
This commit is contained in:
Ludovic Courtès 2009-11-21 15:40:52 +00:00
parent c9ecbf7894
commit e5e6e853de

View file

@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-add-ons"
"--with-headers=${kernelHeaders}/include"
/* Make sure `nscd' et al. are linked against `libssp'. */
"LDFLAGS=-fstack-protector"
(if profilingLibraries then "--enable-profile" else "--disable-profile")
] ++ stdenv.lib.optionals (cross != null) [
"--host=${cross.config}"