3
0
Fork 0
forked from mirrors/nixpkgs
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
png2icns.patch