From: Phil Blundell Date: Sun, 20 Sep 2009 07:03:36 +0000 (+0100) Subject: pulseaudio: turn off eleet a5m 0ptimiZ4ti0nZ in thumb mode X-Git-Tag: Release-2010-05/1~2341 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f229a7876a539468c13d5feb0032c8d5c352175d;p=openembedded.git pulseaudio: turn off eleet a5m 0ptimiZ4ti0nZ in thumb mode --- diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch new file mode 100644 index 0000000000..8a2bc84004 --- /dev/null +++ b/recipes/pulseaudio/pulseaudio-0.9.15/sbc-thumb.patch @@ -0,0 +1,11 @@ +--- f/src/modules/bluetooth/sbc_math.h~ 2008-03-05 20:18:03.000000000 +0000 ++++ f/src/modules/bluetooth/sbc_math.h 2008-10-27 13:39:27.000000000 +0000 +@@ -59,7 +59,7 @@ + + #define SBC_FIXED_0(val) { val = 0; } + #define MUL(a, b) ((a) * (b)) +-#ifdef __arm__ ++#if defined(__arm__) && !defined(__thumb__) + #define MULA(a, b, res) ({ \ + int tmp = res; \ + __asm__( \ diff --git a/recipes/pulseaudio/pulseaudio_0.9.15.bb b/recipes/pulseaudio/pulseaudio_0.9.15.bb index 639e449ccb..64ca916659 100644 --- a/recipes/pulseaudio/pulseaudio_0.9.15.bb +++ b/recipes/pulseaudio/pulseaudio_0.9.15.bb @@ -14,6 +14,7 @@ SRC_URI += "\ file://gettext.patch;patch=1 \ file://fixbluezbuild.patch;patch=1 \ file://tls_m4.patch;patch=1 \ + file://sbc-thumb.patch;patch=1 \ " do_compile_prepend() {