1 |
commit: e1d806dae10cf0fb34aa2778eabed2869b8eece8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 9 13:29:10 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 10 14:35:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d806da |
7 |
|
8 |
dev-lang/python: Force-off -OPT:Olimit=0 in 2.7 to unbreak clang+gcc |
9 |
|
10 |
Bug: https://bugs.gentoo.org/596798 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-lang/python/python-2.7.16.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/python/python-2.7.16.ebuild b/dev-lang/python/python-2.7.16.ebuild |
17 |
index a4801ad8bcc..9a7abdad0e6 100644 |
18 |
--- a/dev-lang/python/python-2.7.16.ebuild |
19 |
+++ b/dev-lang/python/python-2.7.16.ebuild |
20 |
@@ -182,6 +182,11 @@ src_configure() { |
21 |
fi |
22 |
|
23 |
local myeconfargs=( |
24 |
+ # The check is broken on clang, and gives false positive: |
25 |
+ # https://bugs.gentoo.org/596798 |
26 |
+ # (upstream dropped this flag in 3.2a4 anyway) |
27 |
+ ac_cv_opt_olimit_ok=no |
28 |
+ |
29 |
--with-fpectl |
30 |
--enable-shared |
31 |
$(use_enable ipv6) |