dev-php/libvirt-php: Apply gcc-10 workaround

Closes: https://bugs.gentoo.org/728326
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jakov Smolic 2021-03-02 20:50:24 +01:00 committed by Sam James
parent bfb04398be
commit 9cbc504a56
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ PHP_EXT_SKIP_PHPIZE="yes"
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
PHP_EXT_ECONF_ARGS=()
inherit php-ext-source-r3 autotools
inherit php-ext-source-r3 autotools flag-o-matic
DESCRIPTION="PHP bindings for libvirt"
HOMEPAGE="http://libvirt.org/php/"
@ -50,6 +50,11 @@ src_prepare() {
done
}
src_configure() {
append-cflags -fcommon
php-ext-source-r3_src_configure
}
src_install() {
local slot
for slot in $(php_get_slots); do