]> code.ossystems Code Review - openembedded-core.git/commit
conf: add C++ flags for uninative interoperatility
authorRoss Burton <ross.burton@intel.com>
Tue, 22 Nov 2016 17:41:43 +0000 (17:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 11:46:41 +0000 (11:46 +0000)
commit10dea25aac31c156350e3e73f937472404c22d81
tree0fd184e00539b0e83703a82319c6b0ae66d7beeb
parent639b1b6d187ee44b3f67b9d013517a0c904fffc4
conf: add C++ flags for uninative interoperatility

Create a common include file for compiler flags which allow native binaries to
be interoperable on a wide range of hosts. In particular the C++ ABI is
problematic so choose the CXX11 version to allow interoperation between gcc4 and
gcc5 based hosts. Moving this to a common include instead of uninative.bbclass
allows uninative to be configured later and used in the eSDK (where its
mandatory) even if the base configuration doesn't enable uninative by default
(e.g. nodistro in OE-Core).

[ YOCTO #10645 ]

(From OE-Core rev: 60c912ae9306532bdd4c5e09a65863ee77c12f43)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/uninative.bbclass
meta/conf/distro/defaultsetup.conf
meta/conf/distro/include/uninative-flags.inc [new file with mode: 0644]