Skip to contentSkip to conversation

tbb: check the version of the cross gcc instead of host gcc

PATCH New Gregory Vimont 1 participant 1 message Jul 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tbb: check the version of the cross gcc instead of host gcc

From: Gregory Vimont <[email protected]>

When cross compiling on linux with gcc, the host gcc was used instead of the cross gcc to set compilation flags according to gcc version.

---
 meta-oe/recipes-support/tbb/tbb.bb                 |  1 +
 .../tbb/tbb/0002-linux-Fix-gcc-version-check.patch | 57 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 meta-oe/recipes-support/tbb/tbb/0002-linux-Fix-gcc-version-check.patch
meta-oe/recipes-support/tbb/tbb.bb +1 -0
index bad9481..f870104 100644
@@ -13,6 +13,7 @@ PV = "${PRDATE}+${SRCPV}"
 SRC_URI = "git://github.com/01org/tbb;branch=${BRANCH} \
            file://cross-compile.patch \
            file://0001-mallinfo-is-glibc-specific-API-mark-it-so.patch \
+           file://0002-linux-Fix-gcc-version-check.patch \
            file://tbb.pc \
 "
 
meta-oe/recipes-support/tbb/tbb/0002-linux-Fix-gcc-version-check.patch new file +57 -0

57 lines not on this page · raw message

Signature · 1 line
2.7.4