diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-12 20:38:24 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-12 20:38:24 -0700 |
commit | be0667a60bcf6076d8926186b9cf7b695c3c4269 (patch) | |
tree | 02d9f17865d4adeb9c17b95b93ffc318cb367344 /pkgs/applications/terminal-emulators/kitty | |
parent | f3466e8ec1ec02d1fc7b9294783231feaee9896c (diff) |
kitty: disable fortify3 hardening flag
Diffstat (limited to 'pkgs/applications/terminal-emulators/kitty')
-rw-r--r-- | pkgs/applications/terminal-emulators/kitty/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index ea7fc0e3e71e4..ab68f7209332f 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -94,8 +94,13 @@ buildPythonApplication rec { ./disable-test_ssh_bootstrap_with_different_launchers.patch ]; - # Causes build failure due to warning - hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; + hardeningDisable = [ + # causes redefinition of _FORTIFY_SOURCE + "fortify3" + ] ++ lib.optionals stdenv.cc.isClang [ + # Causes build failure due to warning + "strictoverflow" + ]; CGO_ENABLED = 0; GOFLAGS = "-trimpath"; |