Files
meta-openembedded/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
Marcin Juszkiewicz 97ded03d71 tbb: add 4.1 20130116 version (4.1 update 2)
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>
2013-03-29 13:16:38 +01:00

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