From e5e6e853deab0ea5408b07313e79a2380d566e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 21 Nov 2009 15:40:52 +0000 Subject: [PATCH] glibc 2.11: Link against `libssp'. svn path=/nixpkgs/branches/stdenv-updates/; revision=18507 --- pkgs/development/libraries/glibc-2.11/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/glibc-2.11/default.nix b/pkgs/development/libraries/glibc-2.11/default.nix index c0d0e4209c9..4a5f651f19b 100644 --- a/pkgs/development/libraries/glibc-2.11/default.nix +++ b/pkgs/development/libraries/glibc-2.11/default.nix @@ -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}"