summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2020-07-18 08:15:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-19 16:20:53 +0100
commitf5731d48a595aba8704b5f5e8602024b49bb71ee (patch)
tree6d424391ce979e8a1c5de0a48afb80027dd57e5b /meta/recipes-multimedia/pulseaudio/pulseaudio.inc
parentea5b2d21fa9901198609cab08177c8518f42d4eb (diff)
downloadpoky-f5731d48a595aba8704b5f5e8602024b49bb71ee.tar.gz
pulseaudio: improve the Thumb frame pointer fix
By changing the register that PulseAudio uses in its asm code makes it unnecessary to care whether frame pointers are enabled or not. This fix was suggested by Andre McCurdy. (From OE-Core rev: f0a9be4c196c99661cdd18f80bf25281beb04216) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio.inc')
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index c7f3e67022..4e32b27087 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -63,14 +63,6 @@ DEPENDS += "speexdsp libxml-parser-perl-native libcap"
63 63
64inherit autotools bash-completion pkgconfig useradd gettext perlnative systemd manpages gsettings 64inherit autotools bash-completion pkgconfig useradd gettext perlnative systemd manpages gsettings
65 65
66# When compiling for Thumb or Thumb2, frame pointers _must_ be disabled since the
67# Thumb frame pointer in r7 clashes with pulseaudio's use of inline asm to make syscalls
68# (where r7 is used for the syscall NR). In most cases, frame pointers will be
69# disabled automatically due to the optimisation level, but append an explicit
70# -fomit-frame-pointer to handle cases where optimisation is set to -O0 or frame
71# pointers have been enabled by -fno-omit-frame-pointer earlier in CFLAGS, etc.
72CFLAGS_append_arm = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
73
74# *.desktop rules wont be generated during configure and build will fail 66# *.desktop rules wont be generated during configure and build will fail
75# if using --disable-nls 67# if using --disable-nls
76USE_NLS = "yes" 68USE_NLS = "yes"