diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-06 09:30:50 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-06 09:30:50 +0100 |
commit | f3989deee162120ae9cd3f81aa2cddc8f3807a05 (patch) | |
tree | 392b544484b62086404eebd9a10304158bb9e220 | |
parent | 90fafe8b0c2db501194a6e517408491958b24163 (diff) |
php-pecl-graphdat: fix EL-5 32bits build
-rw-r--r-- | php-pecl-graphdat.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-graphdat.spec b/php-pecl-graphdat.spec index 44ef99a..64c17f3 100644 --- a/php-pecl-graphdat.spec +++ b/php-pecl-graphdat.spec @@ -135,6 +135,11 @@ EOF %build +%ifarch i386 i686 +CFLAGS=$(echo %{optflags} | sed -e "s|i386|i686|g") +export CFLAGS +%endif + cd NTS %{_bindir}/phpize %configure \ |