PKGBUILDs/community/kitty/0001-remove-lto.patch

28 lines
786 B
Diff
Raw Normal View History

2020-03-24 12:15:56 +00:00
From 522b7543db3075eb5d6c1d4d3d65e0d2b516eda8 Mon Sep 17 00:00:00 2001
2018-07-12 00:20:44 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Tue, 10 Jul 2018 12:50:51 -0600
Subject: [PATCH] remove lto
---
2020-03-24 12:15:56 +00:00
setup.py | 4 ----
1 file changed, 4 deletions(-)
2018-07-12 00:20:44 +00:00
diff --git a/setup.py b/setup.py
2020-03-24 12:15:56 +00:00
index 917d29e6..a9897a29 100755
2018-07-12 00:20:44 +00:00
--- a/setup.py
+++ b/setup.py
2020-03-24 12:15:56 +00:00
@@ -277,10 +277,6 @@ def init_env(
2018-07-12 00:20:44 +00:00
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
2020-03-24 12:15:56 +00:00
- cflags.append('-flto')
- ldflags.append('-flto')
2018-07-12 00:20:44 +00:00
if profile:
cppflags.append('-DWITH_PROFILER')
--
2020-03-24 12:15:56 +00:00
2.24.1
2018-07-12 00:20:44 +00:00