diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-05 08:22:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-07 12:41:09 +0000 |
commit | 1925ead3828dcd50ef96212c2d1ea9c35bc9f13c (patch) | |
tree | 50d37049e8f6908aa01244e74a8aed3c1d5f6e94 /meta/classes/uninative.bbclass | |
parent | 75fc9a8d408640d97481d310084b212a01dc5f8b (diff) | |
download | openembedded-core-1925ead3828dcd50ef96212c2d1ea9c35bc9f13c.tar.gz openembedded-core-1925ead3828dcd50ef96212c2d1ea9c35bc9f13c.tar.bz2 openembedded-core-1925ead3828dcd50ef96212c2d1ea9c35bc9f13c.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r-- | meta/classes/uninative.bbclass | 6 |
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" #UNINATIVE_CHECKSUM[x86_64] = "dead" UNINATIVE_DLDIR ?= "${COREBASE}" +# https://wiki.debian.org/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. +BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0" + addhandler uninative_event_fetchloader uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" |