mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 20:21:58 +02:00
Intel® Threading Building Blocks (Intel® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance, that are portable and composable, and that have future-proof scalability. Natively supports only x86(-64) targets with fallbacks for non-supported architectures. There is a work at Linaro to add AArch64 and ARMv7a support. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
26 lines
647 B
Diff
26 lines
647 B
Diff
Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
|
|
|
|
Upstream-Status: unsuitable
|
|
---
|
|
build/linux.gcc.inc | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- tbb41_20121003oss.orig/build/linux.gcc.inc
|
|
+++ tbb41_20121003oss/build/linux.gcc.inc
|
|
@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
|
|
EXPORT_KEY = -Wl,--version-script,
|
|
LIBDL = -ldl
|
|
|
|
TBB_NOSTRICT = 1
|
|
|
|
-CPLUS = g++
|
|
-CONLY = gcc
|
|
+CPLUS = $(CXX)
|
|
+CONLY = $(CC)
|
|
+CPLUS_FLAGS = $(CXXFLAGS)
|
|
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
|
LIBS += -lpthread -lrt
|
|
LINK_FLAGS = -Wl,-rpath-link=.
|
|
C_FLAGS = $(CPLUS_FLAGS)
|
|
# gcc 4.4 and higher support -std=c++0x
|