summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-graphdat.spec5
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 \