Nuke -mcpu=750 from cflags for PPC, that plus -mcpu=power7 confuses gcc.

This commit is contained in:
Adam Jackson 2014-01-15 12:54:12 -05:00
parent 2e671577a9
commit e99bc4c5b8

View File

@ -3,7 +3,7 @@
Summary: The Vorbis General Audio Compression Codec
Name: libvorbis
Version: 1.3.3
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 1
Group: System Environment/Libraries
License: BSD
@ -46,6 +46,7 @@ Documentation for developing applications with libvorbis.
%patch2 -p1
sed -i "s/-O20/$RPM_OPT_FLAGS/" configure
sed -i "s/-ffast-math//" configure
sed -i "s/-mcpu=750//" configure
%build
%configure --with-ogg-libraries=%{_libdir} --disable-static
@ -92,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%changelog
* Wed Jan 15 2014 Adam Jackson <ajax@redhat.com> 1.3.3-7
- Nuke -mcpu=750 from cflags for PPC, that plus -mcpu=power7 confuses gcc.
* Thu Aug 8 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:1.3.3-6
- Install docs to %%{_pkgdocdir} where available (#993967).