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

Adam Jackson ajax at fedoraproject.org
Wed Jan 15 17:54:00 UTC 2014


commit e99bc4c5b8a55e2939eb68dbf223d8961239dce6
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jan 15 12:54:12 2014 -0500

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

 libvorbis.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libvorbis.spec b/libvorbis.spec
index cbb84d2..a7600fe 100644
--- a/libvorbis.spec
+++ b/libvorbis.spec
@@ -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 at 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 at iki.fi> - 1:1.3.3-6
 - Install docs to %%{_pkgdocdir} where available (#993967).
 


More information about the scm-commits mailing list