mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
786 B
Diff
27 lines
786 B
Diff
From 522b7543db3075eb5d6c1d4d3d65e0d2b516eda8 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Tue, 10 Jul 2018 12:50:51 -0600
|
|
Subject: [PATCH] remove lto
|
|
|
|
---
|
|
setup.py | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 917d29e6..a9897a29 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -277,10 +277,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')
|
|
--
|
|
2.24.1
|
|
|