]> code.ossystems Code Review - openembedded-core.git/commit
glibc-testing: Specify location of c++ header files
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 26 Mar 2015 15:14:31 +0000 (08:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Mar 2015 22:07:17 +0000 (23:07 +0100)
commit35cd410bd3cfcd072df29e36cfe66b2c14cd3841
tree3b4dc042b0c2c97511582e448a821e505d6311ac
parent960a7f7ae24e72efc165a431f8b91b3f3b176916
glibc-testing: Specify location of c++ header files

Glibc test suite contains several c++ files. They are built
with g++ -nostdinc. In this case the location of c++ include files
needs to be specified explicitly, or the programs may fail to build.

The header locations are assumed to be:
    sysroot/usr/include/c++/<version>
    sysroot/usr/include/c++/<version>/<machine>

The new code parses "configparms" to get the actual CXX and sysroot
used for the glibc test suite, then it queries CXX to determine
CXX <version> and CXX <machine>. With the known values for <version>
and <machine> the code composes a new value for c++-sysincludes
and appends "configparms" with that value.

[YOCTO #7081]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-testing.inc