summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-runkit.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec
index 79714ea..def5f29 100644
--- a/php-pecl-runkit.spec
+++ b/php-pecl-runkit.spec
@@ -67,6 +67,11 @@ ogólnego użytku. Wykonywanie danego kodu w ograniczonym środowisku
%setup -q -c
mv zenovich-runkit-%{GIT} nts
+
+%if 0%{?rhel} == 5
+sed -e 's/-Werror//' -i nts/config.m4
+%endif
+
cp -r nts zts
# Create the configuration file