summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc/common.nix
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2022-07-21 00:04:53 +0200
committerajs124 <git@ajs124.de>2022-07-21 00:32:03 +0200
commit8f3c8aee8adfceab3730367e400ccbb8d9d835ce (patch)
tree3d8b5a0a453db3b954a31b5ef2a67ed1c95e02a8 /pkgs/development/libraries/glibc/common.nix
parent34b92568d1dead83fef0a2e6bc6f466e9ba8cfae (diff)
downloadnixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar.gz
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar.bz2
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar.lz
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar.xz
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.tar.zst
nixpkgs-8f3c8aee8adfceab3730367e400ccbb8d9d835ce.zip
glibc: explicitly enable stack-protector
should be detected automatically
Diffstat (limited to 'pkgs/development/libraries/glibc/common.nix')
-rw-r--r--pkgs/development/libraries/glibc/common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix
index cc6667e54bf..ec2fca8fd44 100644
--- a/pkgs/development/libraries/glibc/common.nix
+++ b/pkgs/development/libraries/glibc/common.nix
@@ -178,6 +178,7 @@ stdenv.mkDerivation ({
     [ "-C"
       "--enable-add-ons"
       "--sysconfdir=/etc"
+      "--enable-stack-protector=strong"
       "--enable-bind-now"
       (lib.withFeatureAs withLinuxHeaders "headers" "${linuxHeaders}/include")
       (lib.enableFeature profilingLibraries "profile")