]> code.ossystems Code Review - openembedded-core.git/commit
gcc-runtime.inc: Add CPP support for x86-64-x32 tune
authorJuro Bystricky <juro.bystricky@intel.com>
Sat, 8 Oct 2016 17:53:52 +0000 (10:53 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Nov 2016 23:03:19 +0000 (23:03 +0000)
commit979b28c55c3b9b0134dbddbb09e30b9bf0db9231
tree794fa7a126a0ef151e8bdc236438e298b667d442
parentfe61e95a3368d0bc0e66958d0e703b1e3c40c9bb
gcc-runtime.inc: Add CPP support for x86-64-x32 tune

Using the following setup (as specified in yocto sample code):

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:libx32"
DEFAULTTUNE_virtclass-multilib-libx32 = "x86-64-x32"

We fail to compile simple CPP programs because CPP cannot
find relevant header files, looking for them in a non-existing place.
To fix this, we create a symlink of the name CPP expects and point it to
the corresponding existing directory.

[YOCTO#10354]
[YOCTO#10380]

(From OE-Core rev: 9f9be229040f4f9a523a1e25afd78d5c3f4efc23)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/gcc/gcc-runtime.inc