fix build on s390(x) - disable jit and use larger stack for tests
This commit is contained in:
parent
e6c39a297b
commit
dfafe2bb25
18
pcre.spec
18
pcre.spec
@ -1,7 +1,7 @@
|
|||||||
# This is stable release: %%global rcversion RC3
|
# This is stable release: %%global rcversion RC3
|
||||||
Name: pcre
|
Name: pcre
|
||||||
Version: 8.20
|
Version: 8.20
|
||||||
Release: %{?rcversion:0.}1%{?rcversion:.%rcversion}%{?dist}
|
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
|
||||||
%global myversion %{version}%{?rcversion:-%rcversion}
|
%global myversion %{version}%{?rcversion:-%rcversion}
|
||||||
Summary: Perl-compatible regular expression library
|
Summary: Perl-compatible regular expression library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -59,8 +59,13 @@ for F in ChangeLog; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-jit --enable-pcretest-libreadline --enable-utf8 \
|
%configure \
|
||||||
--enable-unicode-properties
|
%ifarch s390 s390x
|
||||||
|
--disable-jit \
|
||||||
|
%else
|
||||||
|
--enable-jit \
|
||||||
|
%endif
|
||||||
|
--enable-pcretest-libreadline --enable-utf8 --enable-unicode-properties
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -80,6 +85,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifarch s390
|
||||||
|
# larger stack is needed on s390
|
||||||
|
ulimit -s 10240
|
||||||
|
%endif
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
@ -112,6 +121,9 @@ make check
|
|||||||
%{_mandir}/man1/pcretest.*
|
%{_mandir}/man1/pcretest.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 15 2011 Dan Horák <dan[at]danny.cz> - 8.20-2
|
||||||
|
- fix build on s390(x) - disable jit and use larger stack for tests
|
||||||
|
|
||||||
* Fri Oct 21 2011 Petr Pisar <ppisar@redhat.com> - 8.20-1
|
* Fri Oct 21 2011 Petr Pisar <ppisar@redhat.com> - 8.20-1
|
||||||
- 8.20 bump
|
- 8.20 bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user