3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/kitty/no-lto.patch
2019-05-26 20:06:57 +02:00

13 lines
459 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -233,9 +233,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')