diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix index d710c41a97c..34262b89cd1 100644 --- a/pkgs/development/libraries/libressl/default.nix +++ b/pkgs/development/libraries/libressl/default.nix @@ -23,6 +23,10 @@ let rm configure ''; + # Ensure that the output libraries do not require an executable stack. + # Without this, libcrypto would be built with the executable stack flag set. + NIX_LDFLAGS = ["-z" "noexecstack"]; + enableParallelBuilding = true; outputs = [ "bin" "dev" "out" "man" "nc" ];