]> code.ossystems Code Review - openembedded-core.git/commit
flac: fix build issues with e500v2 (gnuspe) toolchain
authorKumar Gala <galak@kernel.crashing.org>
Tue, 19 Jul 2011 17:41:36 +0000 (12:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2011 14:24:57 +0000 (15:24 +0100)
commit0cb68387f9aca914c603a26e85a2ea405f721f53
treea258cee4bc410ea830ab623f11662125b4761ab4
parentd42a262c1fe41bd774be85f3df1baf144fc8e67d
flac: fix build issues with e500v2 (gnuspe) toolchain

For a PPC target flac will try to build with altivec optimizations.
Altivec and SPE are mutually exclusive options.  Between flac's
configure choices and the ppce500v2 tune file options we'd end up with
a compile invocation with the following arguments:

-mabi=spe -mspe -mabi=altivec -maltivec

Which would cause the compile to fail due to the mutual exclusion.

Pulled in a patch from the debian SPE port that addresses this issue:

http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2010-June/010212.html

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
meta/recipes-multimedia/flac/flac-1.2.1/0001-No-AltiVec-on-SPE.patch [new file with mode: 0644]
meta/recipes-multimedia/flac/flac_1.2.1.bb