about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2023-07-12 13:49:08 +0100
committerGitHub <noreply@github.com>2023-07-12 13:49:08 +0100
commite2622eee41fd8934c501802ce51747210b0c6350 (patch)
tree65f41192274bddbb165b501ac72d56911879b81b /pkgs/os-specific
parentbc41da4eb9c0f4a01633006b128a05d4469ec935 (diff)
parentbf5598072e9e387074a47404e2f1606c4f3259e7 (diff)
Merge pull request #242466 from risicle/ris-fortify3-disable-various
disable `fortify3` hardening flag on various packages
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/libevdevc/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/libevdevc/default.nix b/pkgs/os-specific/linux/libevdevc/default.nix
index 4998ee3e6b57a..5e6b7cd47815a 100644
--- a/pkgs/os-specific/linux/libevdevc/default.nix
+++ b/pkgs/os-specific/linux/libevdevc/default.nix
@@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
 
   makeFlags = [ "DESTDIR=$(out)" "LIBDIR=/lib" ];
 
+  # causes redefinition of _FORTIFY_SOURCE
+  hardeningDisable = [ "fortify3" ];
+
   meta = with lib; {
     description = "ChromiumOS libevdev. Renamed to avoid conflicts with the standard libevdev found in Linux distros";
     license = licenses.bsd3;