]> 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>
Tue, 31 Mar 2015 21:21:43 +0000 (22:21 +0100)
commit15c5e5e83af409509140eaf29d4e10d9db99eb8a
treeb27e925c26f42c7d4d560a667d7d055caf2f1ff4
parentd611d7009631aa8a372f248995b52938163966c6
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