dev-lang/python: Force-off -OPT:Olimit=0 in 2.7 to unbreak clang+gcc
authorMichał Górny <mgorny@gentoo.org>
Thu, 9 May 2019 13:29:10 +0000 (15:29 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 10 May 2019 14:35:55 +0000 (16:35 +0200)
Bug: https://bugs.gentoo.org/596798
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-lang/python/python-2.7.16.ebuild

index a4801ad8bcc76a1f1b303e20760bb0164653cc08..9a7abdad0e6853256a69da3fdb6e2158ad80898f 100644 (file)
@@ -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)