mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
librtorrent: Disable instrumentation on rv32
instrumentation code uses atomic ops on 64bit variables, which leads to build failures on 32bit targets using libtorrent because of missing builtins on riscv32/gcc /usr/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' /usr/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8' The developer added a "--disable-instrumentation" switch which skips the build of the offending codepaths in libtorrent. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a3015b7b23
commit
f21d855488
|
|
@ -19,6 +19,7 @@ PACKAGECONFIG ??= "instrumentation"
|
|||
|
||||
PACKAGECONFIG_remove_mipsarch = "instrumentation"
|
||||
PACKAGECONFIG_remove_powerpc = "instrumentation"
|
||||
PACKAGECONFIG_remove_riscv32 = "instrumentation"
|
||||
|
||||
PACKAGECONFIG[instrumentation] = "--enable-instrumentation,--disable-instrumentation,"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user