1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/applications/misc/kitty
Luflosi 2a15e3ba75
kitty: better fix for build error
Without the `no-werror.patch`, the compilation would fail with the following warning:
```
clang-7: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
```
To fix this, the compiler command line options `-pedantic-errors` and `-Werror` were patched out of the build script so that the warning would not become an error and stop the build. This is not ideal as this piece of code is changed fairly frequently, which requires fixing the patch. In the next kitty version the patch would need to be fixed again.
A better alternative is to just not pass `-fno-strict-overflow` to the compiler. This is done by disabling the `strictoverflow` hardening feature.
2020-02-19 17:28:46 +01:00
..
default.nix kitty: better fix for build error 2020-02-19 17:28:46 +01:00
fix-paths.patch kitty: patch paths to linux-specific libs on linux builds only 2019-12-03 19:44:05 +01:00
library-paths.patch kitty: replace library path using patch instead of substituteInPlace 2019-12-07 23:05:47 +01:00
no-lto.patch kitty: Adapt patches to upstream changes 2019-05-26 20:06:57 +02:00
png2icns.patch kitty: fix patch for darwin 2019-07-29 11:15:13 -04:00