mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
tbb: Disable PPC as COMPATIBLE_MACHINE
The latest version does not support PPC architecture, so disable
the it. Otherwise the following error occurs:
/srv/nvme/yocto/hardknott/builds/tbb/tmp/work/ppc7400-poky-linux/tbb/2021.2.0-r0/git/src/tbb/tools_api/ittnotify_config.h:338:12: error: '__TBB_machine_fetchadd4' was not declared in this scope
338 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -45,3 +45,6 @@ LDFLAGS_append_mips = " -latomic"
|
||||
LDFLAGS_append_mipsel = " -latomic"
|
||||
|
||||
LDFLAGS_append_libc-musl = " -lucontext"
|
||||
|
||||
# The latest version of oneTBB does not support PPC
|
||||
COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
|
||||
|
||||
Reference in New Issue
Block a user