summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-01-13 12:28:29 -0500
committerMike Gilbert <floppym@gentoo.org>2020-01-13 12:28:29 -0500
commitbc22f76af021e82362cb4be63e8f9ba452ac4906 (patch)
treee2ce852bc434f443707e3fb49381f118e90e6e9f /dev-lang
parentapp-emulation/free42: 2.5.14 bump (diff)
downloadgentoo-bc22f76af021e82362cb4be63e8f9ba452ac4906.tar.gz
gentoo-bc22f76af021e82362cb4be63e8f9ba452ac4906.tar.bz2
gentoo-bc22f76af021e82362cb4be63e8f9ba452ac4906.zip
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-3.8.1.ebuild2
-rw-r--r--dev-lang/python/python-3.9.0_alpha2.ebuild2
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 acdf03eee7f0..cc9a3439c5bc 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 95bfa0ef59d0..d27153afa53e 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