summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
commit8e8120eabdd28020aa69c7a60505cce2edd20adc (patch)
tree061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch
parentc16790af2c9b4cbc38e565d4311252193ff85484 (diff)
downloadbaldeagleos-repo-21.1.2.tar.gz
baldeagleos-repo-21.1.2.tar.xz
baldeagleos-repo-21.1.2.zip
Updating liguros repo21.1.2
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch')
-rw-r--r--dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch b/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch
new file mode 100644
index 000000000000..ab377e7f19b2
--- /dev/null
+++ b/dev-python/matplotlib/files/matplotlib-3.3.3-disable-lto.patch
@@ -0,0 +1,25 @@
+From 7382d6205bfdc647a8e47c8e417c991d3822eace Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 4 Jan 2021 10:03:32 +0100
+Subject: [PATCH] Disable -flto
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 6e1d19d..ed85d14 100644
+--- a/setup.py
++++ b/setup.py
+@@ -147,7 +147,7 @@ class BuildExtraLibraries(BuildExtCommand):
+ ranlib = True
+ else:
+ ranlib = shutil.which('llvm-ranlib')
+- if ranlib and has_flag(self.compiler, '-flto'):
++ if False and ranlib and has_flag(self.compiler, '-flto'):
+ for ext in self.extensions:
+ ext.extra_compile_args.append('-flto')
+ cppflags.append('-flto')
+--
+2.30.0
+