commit:     bc22f76af021e82362cb4be63e8f9ba452ac4906
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 17:28:29 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 17:28:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc22f76a

dev-lang/python: also match '-flto=*'

Bug: https://bugs.gentoo.org/700012
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-lang/python/python-3.8.1.ebuild        | 2 +-
 dev-lang/python/python-3.9.0_alpha2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/python/python-3.8.1.ebuild 
b/dev-lang/python/python-3.8.1.ebuild
index acdf03eee7f..cc9a3439c5b 100644
--- a/dev-lang/python/python-3.8.1.ebuild
+++ b/dev-lang/python/python-3.8.1.ebuild
@@ -111,7 +111,7 @@ src_configure() {
        fi
 
        # https://bugs.gentoo.org/700012
-       if is-flagq -flto; then
+       if is-flagq -flto || is-flagq '-flto=*'; then
                append-cflags $(test-flags-CC -ffat-lto-objects)
        fi
 

diff --git a/dev-lang/python/python-3.9.0_alpha2.ebuild 
b/dev-lang/python/python-3.9.0_alpha2.ebuild
index 95bfa0ef59d..d27153afa53 100644
--- a/dev-lang/python/python-3.9.0_alpha2.ebuild
+++ b/dev-lang/python/python-3.9.0_alpha2.ebuild
@@ -127,7 +127,7 @@ src_configure() {
        fi
 
        # https://bugs.gentoo.org/700012
-       if is-flagq -flto; then
+       if is-flagq -flto || is-flagq '-flto=*'; then
                append-cflags $(test-flags-CC -ffat-lto-objects)
        fi
 

Reply via email to