- remove -maltivec from CFLAGS
This commit is contained in:
parent
d03de03fb9
commit
ad7b980957
12
flac-1.2.1-ppc.patch
Normal file
12
flac-1.2.1-ppc.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up flac-1.2.1/src/libFLAC/Makefile.in.ppc flac-1.2.1/src/libFLAC/Makefile.in
|
||||
--- flac-1.2.1/src/libFLAC/Makefile.in.ppc 2007-09-16 22:05:12.000000000 +0200
|
||||
+++ flac-1.2.1/src/libFLAC/Makefile.in 2008-01-30 14:19:51.000000000 +0100
|
||||
@@ -240,7 +240,7 @@ lib_LTLIBRARIES = libFLAC.la
|
||||
@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
|
||||
# Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
|
||||
#@@@ PPC optimizations temporarily disabled
|
||||
-@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
|
||||
+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS = -DFLAC__NO_ASM
|
||||
|
||||
AM_CFLAGS = $(DEBUGCFLAGS) $(CPUCFLAGS) @OGG_CFLAGS@
|
||||
@FLaC__CPU_PPC_TRUE@@FLaC__NO_ASM_FALSE@ARCH_SUBDIRS = ppc
|
@ -9,6 +9,7 @@ Patch1: flac-1.2.1-asm.patch
|
||||
Patch2: flac-1.2.1-gcc43.patch
|
||||
Patch3: flac-1.2.1-hidesyms.patch
|
||||
Patch4: flac-1.2.1-tests.patch
|
||||
Patch5: flac-1.2.1-ppc.patch
|
||||
URL: http://flac.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libogg-devel
|
||||
@ -42,6 +43,7 @@ will use the Free Lossless Audio Codec.
|
||||
%patch3 -p1 -b .hidesyms
|
||||
# reduce number of tests
|
||||
%patch4 -p1 -b .tests
|
||||
%patch5 -p1 -b .ppc
|
||||
|
||||
%build
|
||||
%configure --disable-xmms-plugin
|
||||
@ -88,6 +90,7 @@ rm -rf %{buildroot}
|
||||
- hide private libFLAC symbols (#285961)
|
||||
- update license tag
|
||||
- add %%check
|
||||
- remove -maltivec from CFLAGS
|
||||
|
||||
* Mon Sep 17 2007 - Bastien Nocera <bnocera@redhat.com> - 1.2.1-1
|
||||
- Update to 1.2.1
|
||||
|
Loading…
Reference in New Issue
Block a user