diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-21 15:40:52 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-21 15:40:52 +0000 |
commit | e5e6e853deab0ea5408b07313e79a2380d566e21 (patch) | |
tree | 9712932d9cb296fc8276114be0c48e4df48b0c57 /pkgs/development/libraries/glibc-2.11 | |
parent | c9ecbf7894cd5ae0ab3b85b1a51d829a7db81635 (diff) | |
download | nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar.gz nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar.bz2 nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar.lz nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar.xz nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.tar.zst nixpkgs-e5e6e853deab0ea5408b07313e79a2380d566e21.zip |
glibc 2.11: Link against `libssp'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18507
Diffstat (limited to 'pkgs/development/libraries/glibc-2.11')
-rw-r--r-- | pkgs/development/libraries/glibc-2.11/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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}" |