Disable strict-aliasing on PPC64 (bug #881232)
This commit is contained in:
parent
c8c282cf69
commit
531a682ddb
@ -2,7 +2,7 @@
|
||||
#%%global rcversion RC1
|
||||
Name: pcre
|
||||
Version: 8.33
|
||||
Release: %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}.1
|
||||
Release: %{?rcversion:0.}3%{?rcversion:.%rcversion}%{?dist}
|
||||
%global myversion %{version}%{?rcversion:-%rcversion}
|
||||
Summary: Perl-compatible regular expression library
|
||||
Group: System Environment/Libraries
|
||||
@ -64,6 +64,10 @@ for F in ChangeLog; do
|
||||
done
|
||||
|
||||
%build
|
||||
# There is a strict-aliasing problem on PPC64, bug #881232
|
||||
%ifarch ppc64
|
||||
%global optflags %{optflags} -fno-strict-aliasing
|
||||
%endif
|
||||
%configure \
|
||||
%ifarch aarch64 s390 s390x sparc64 sparcv9
|
||||
--disable-jit \
|
||||
@ -117,6 +121,9 @@ make check
|
||||
%{_mandir}/man1/pcretest.*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 16 2013 Petr Pisar <ppisar@redhat.com> - 8.33-3
|
||||
- Disable strict-aliasing on PPC64 (bug #881232)
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.33-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user