diff options
| -rw-r--r-- | dev-lang/php/php-8.0.30.ebuild | 5 | ||||
| -rw-r--r-- | dev-lang/php/php-8.1.21.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/php/php-8.0.30.ebuild b/dev-lang/php/php-8.0.30.ebuild index b6ce4bcbf1b4..8cdaf1ceb1d1 100644 --- a/dev-lang/php/php-8.0.30.ebuild +++ b/dev-lang/php/php-8.0.30.ebuild @@ -255,6 +255,11 @@ src_configure() { $(use_enable threads zts) ) + if is-flagq -flto; then + # https://bugs.gentoo.org/866683 + our_conf+=( --disable-gcc-global-regs ) + fi + our_conf+=( $(use_with apparmor fpm-apparmor) $(use_with argon2 password-argon2 "${EPREFIX}/usr") diff --git a/dev-lang/php/php-8.1.21.ebuild b/dev-lang/php/php-8.1.21.ebuild index 6fb08e8646fb..db53ccbaa5bb 100644 --- a/dev-lang/php/php-8.1.21.ebuild +++ b/dev-lang/php/php-8.1.21.ebuild @@ -259,6 +259,11 @@ src_configure() { $(use_enable threads zts) ) + if is-flagq -flto; then + # https://bugs.gentoo.org/866683 + our_conf+=( --disable-gcc-global-regs ) + fi + our_conf+=( $(use_with apparmor fpm-apparmor) $(use_with argon2 password-argon2 "${EPREFIX}/usr") |
