]> code.ossystems Code Review - openembedded-core.git/commit
gcc-target: Do not set --with-sysroot and gxx-include-dir paths
authorKhem Raj <raj.khem@gmail.com>
Mon, 6 May 2019 17:51:36 +0000 (10:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2019 11:12:30 +0000 (12:12 +0100)
commit2996640fb3577a3c28a22f1e25eae15e8e3d46b1
treebac7745f719f3c87863df24c35fa89e62ae7d039
parent7ad50a8fc1448dd152eaba57aaeb63a8229fdb21
gcc-target: Do not set --with-sysroot and gxx-include-dir paths

These options are not needed on target infact since the defaults would
be good enough for compiler to find the relevant headers and libraries
from compiler runtime

with gcc9 it starts to strip the sysroot from gxx-include-dir which
means it tries to look for gxx headers in localdir

ignoring nonexistent directory "usr/include/c++/9.0.1"
ignoring nonexistent directory "usr/include/c++/9.0.1/arm-yoe-linux-gnueabi"
ignoring nonexistent directory "usr/include/c++/9.0.1/backward"

instead of sysroot

Removing these options make it behave normal

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc