summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libevdevc/default.nix
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-07-09 17:27:23 +0100
committerRobert Scott <code@humanleg.org.uk>2023-07-09 17:27:23 +0100
commitc3217f1f80e8165b0fb38f296c3ce28e252e2abe (patch)
treebd80c125b71ebb3aa470500485117ac344b7ffb6 /pkgs/os-specific/linux/libevdevc/default.nix
parent7d687c1d642e50f9c7cec73f38e5631f916945af (diff)
downloadnixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar.gz
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar.bz2
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar.lz
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar.xz
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.tar.zst
nixpkgs-c3217f1f80e8165b0fb38f296c3ce28e252e2abe.zip
libevdevc: disable fortify3 hardening flag
Diffstat (limited to 'pkgs/os-specific/linux/libevdevc/default.nix')
-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 4998ee3e6b5..5e6b7cd4781 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;