summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-05 08:22:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-07 12:41:38 +0000
commit4feb00df18c4fdd05f3f0499aef8055641200d4c (patch)
treeb779c84f0275bff822265cfeef8553017607cf22 /meta/classes
parent013dd24bce6c6f95167b275d3aee8e161d7e6718 (diff)
downloadpoky-4feb00df18c4fdd05f3f0499aef8055641200d4c.tar.gz
uninative: Use CXX11 ABI for interoperation between gcc4 and gcc5
We may see binaries built with gcc5 run or linked into gcc4 environment so use the older libstdc++ standard for now until we don't support gcc4 on the host system. https://wiki.debian.org/GCC5 has more details about this. (From OE-Core rev: 1925ead3828dcd50ef96212c2d1ea9c35bc9f13c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/uninative.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 8902518a1d..0a27ec41a7 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -7,6 +7,12 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2"
7#UNINATIVE_CHECKSUM[x86_64] = "dead" 7#UNINATIVE_CHECKSUM[x86_64] = "dead"
8UNINATIVE_DLDIR ?= "${COREBASE}" 8UNINATIVE_DLDIR ?= "${COREBASE}"
9 9
10# https://wiki.debian.org/GCC5
11# We may see binaries built with gcc5 run or linked into gcc4 environment
12# so use the older libstdc++ standard for now until we don't support gcc4
13# on the host system.
14BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
15
10addhandler uninative_event_fetchloader 16addhandler uninative_event_fetchloader
11uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" 17uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted"
12 18