2019-05-24 18:50:05 +00:00
|
|
|
From cc022a35b3b69a623592a634e2d5ea06f05ff354 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
|
|
|
|
|
|
|
|
---
|
|
|
|
setup.py | 3 ---
|
|
|
|
1 file changed, 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/setup.py b/setup.py
|
2019-05-24 18:50:05 +00:00
|
|
|
index ed9e7731..4ec76938 100755
|
2018-07-12 00:20:44 +00:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2019-05-24 18:50:05 +00:00
|
|
|
@@ -233,9 +233,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
|
|
|
|
- cflags.append('-flto'), ldflags.append('-flto')
|
|
|
|
|
|
|
|
if profile:
|
|
|
|
cppflags.append('-DWITH_PROFILER')
|
|
|
|
--
|
2019-05-24 18:50:05 +00:00
|
|
|
2.21.0
|
2018-07-12 00:20:44 +00:00
|
|
|
|