dev-lang/python: also match '-flto=*'
authorMike Gilbert <floppym@gentoo.org>
Mon, 13 Jan 2020 17:28:29 +0000 (12:28 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 13 Jan 2020 17:28:29 +0000 (12:28 -0500)
Bug: https://bugs.gentoo.org/700012
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
dev-lang/python/python-3.8.1.ebuild
dev-lang/python/python-3.9.0_alpha2.ebuild

index acdf03eee7f071898f4e012ad7ded6e31eb246b8..cc9a3439c5bc3b59e141d31560a3ec2da8798033 100644 (file)
@@ -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
 
index 95bfa0ef59d0b5e4d80a429273a9dbb83530a1b0..d27153afa53e93db62225848429481739c844eff 100644 (file)
@@ -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