mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
f96feeef7c
https://github.com/kovidgoyal/kitty/releases/tag/v0.18.0 I submitted a patch to kitty, so that the library paths can now be passed as arguments to the build system, eliminating the need for patching. This should reduce the required maintenance effort in the future. This commit removes the dependency on `which`, which is no longer necessary since5e4fe584fa
. It was introduced in481e61fad8
. The configure phase is now ignored because kitty has no configure script. The kitty tests are now run after compilation. The zsh completions no longer need to be invoked with `source` since38eb737845
, so remove the outdated comment. There is now a link to the changelog.
14 lines
468 B
Diff
14 lines
468 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -287,10 +287,6 @@ def init_env(
|
|
cppflags += shlex.split(os.environ.get('CPPFLAGS', ''))
|
|
cflags += shlex.split(os.environ.get('CFLAGS', ''))
|
|
ldflags += shlex.split(os.environ.get('LDFLAGS', ''))
|
|
- if not debug and not sanitize:
|
|
- # See https://github.com/google/sanitizers/issues/647
|
|
- cflags.append('-flto')
|
|
- ldflags.append('-flto')
|
|
|
|
if profile:
|
|
cppflags.append('-DWITH_PROFILER')
|