about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-12 21:03:30 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-12 21:03:30 -0700
commitb704e2a42354e6d099a8bcce7449d75b77fe793c (patch)
treec9b3f222d0742c43f0b6e582912116077609d395 /pkgs/development/libraries
parent8f096fa0077faa1252480e813ff824b76815cded (diff)
libffi_3_3: disable fortify3 hardening flag
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libffi/3.3.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libffi/3.3.nix b/pkgs/development/libraries/libffi/3.3.nix
index b6837c6523f7a..294717d1fb1cd 100644
--- a/pkgs/development/libraries/libffi/3.3.nix
+++ b/pkgs/development/libraries/libffi/3.3.nix
@@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
     "--disable-exec-static-tramp"
   ];
 
+  # with fortify3, tests fail for some reason
+  hardeningDisable = [ "fortify3" ];
+
   preCheck = ''
     # The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE.
     NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}