summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-05-09 15:29:10 +0200
committerMichał Górny <mgorny@gentoo.org>2019-05-10 16:35:55 +0200
commite1d806dae10cf0fb34aa2778eabed2869b8eece8 (patch)
treef20f39d41a314ab7f6ec12d594d806028833c8e4 /dev-lang/python
parentdev-libs/libcli: Bump to version 1.9.8.4 (diff)
downloadgentoo-e1d806dae10cf0fb34aa2778eabed2869b8eece8.tar.gz
gentoo-e1d806dae10cf0fb34aa2778eabed2869b8eece8.tar.bz2
gentoo-e1d806dae10cf0fb34aa2778eabed2869b8eece8.zip
dev-lang/python: Force-off -OPT:Olimit=0 in 2.7 to unbreak clang+gcc
Bug: https://bugs.gentoo.org/596798 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/python-2.7.16.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.7.16.ebuild b/dev-lang/python/python-2.7.16.ebuild
index a4801ad8bcc7..9a7abdad0e68 100644
--- a/dev-lang/python/python-2.7.16.ebuild
+++ b/dev-lang/python/python-2.7.16.ebuild
@@ -182,6 +182,11 @@ src_configure() {
fi
local myeconfargs=(
+ # The check is broken on clang, and gives false positive:
+ # https://bugs.gentoo.org/596798
+ # (upstream dropped this flag in 3.2a4 anyway)
+ ac_cv_opt_olimit_ok=no
+
--with-fpectl
--enable-shared
$(use_enable ipv6)