summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git/git.inc
diff options
context:
space:
mode:
authorCatalin Enache <catalin.enache@windriver.com>2020-03-26 17:26:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-29 20:04:10 +0100
commitf7bde5f06a3ff810faf40a2ba8cac85b83351b06 (patch)
treebfdd1c797c4b60a85287ec932d7bdb360797aeec /meta/recipes-devtools/git/git.inc
parentabee806f114fff3565d8796db0eab86f64bb937b (diff)
downloadpoky-f7bde5f06a3ff810faf40a2ba8cac85b83351b06.tar.gz
pulseaudio: fix for ARM thumb + frame pointers compilation error
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled since the Thumb frame pointer in r7 clashes with pulseaudio's use of inline asm to make syscalls (where r7 is used for the syscall NR). In most cases, frame pointers will be disabled automatically due to the optimisation level, but appending an explicit -fomit-frame-pointer to CFLAGS handles cases where optimisation is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer earlier in CFLAGS, etc. References: https://www.openwall.com/lists/musl/2017/10/09/2 (From OE-Core rev: b199a9dbc3440d7c4fad8d8baeea931a6b7381c1) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git/git.inc')
0 files changed, 0 insertions, 0 deletions