summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2014-02-12 18:42:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-14 12:30:20 +0000
commitcb0fe9bf151b1c6dc49b4f3b099316323b8685d7 (patch)
tree4bae6871553a3e31aad016b9ef1a94fa33d8b9dc /meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch
parentda0a4c7f8de57624f70ef4c8fabacd089241d91a (diff)
downloadpoky-cb0fe9bf151b1c6dc49b4f3b099316323b8685d7.tar.gz
flac: upgrade to 1.3.0
- Updated description, bugtracker and source; - Switched to ${BP} variable; - 0001-No-AltiVec-on-SPE.patch, flac-gcc43-fixes.patch, asm-pic.patch, obsolete_automake_macros.patch patches removed, included in upstream; - Licenses checksums changed due to added copyright owners and street adresses changed; - Backported 1.3.0 specific fix; - Removed obsolete PPC fix; - Added support for SSE optimizations; - Removed default ${S} definition; - Removed xmms unneeded prefixes. Build on all qemu arch; Tested on qemux86-64 and qemuppc. (From OE-Core rev: 85ac4d82c77e3cab6a5867e4ec110ba07023838b) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch')
-rw-r--r--meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch b/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch
new file mode 100644
index 0000000000..d086cc910f
--- /dev/null
+++ b/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch
@@ -0,0 +1,35 @@
1From 1b3597cdc7b5e604ea37db29b2a65aab91e263e6 Mon Sep 17 00:00:00 2001
2From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3Date: Wed, 4 Dec 2013 13:31:28 -0300
4Subject: [PATCH] Fix Makefile.am altivec logic
5
6Upstream-Status: Backport
7
8Besides SPE (FSL e500v? cores) there are other powerpc processors
9that don't support altivec instructions so only enable them when it's
10100% sure that the target has it.
11
12Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
13Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
14Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
15---
16 src/libFLAC/Makefile.am | 3 +--
17 1 file changed, 1 insertion(+), 2 deletions(-)
18
19diff --git a/src/libFLAC/Makefile.am b/src/libFLAC/Makefile.am
20index 247e33c..258de40 100644
21--- a/src/libFLAC/Makefile.am
22+++ b/src/libFLAC/Makefile.am
23@@ -47,8 +47,7 @@ CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
24 else
25 # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
26 CPUCFLAGS =
27-if FLaC__CPU_PPC_SPE
28-else
29+if FLaC__USE_ALTIVEC
30 CPUCFLAGS += -maltivec -mabi=altivec
31 endif
32 #@@@ PPC optimizations temporarily disabled
33--
341.8.3.2
35