]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Add target gcc include search for musl config too
authorKhem Raj <raj.khem@gmail.com>
Mon, 17 May 2021 22:09:13 +0000 (15:09 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 May 2021 22:52:49 +0000 (23:52 +0100)
commit3ff688ca02dcc4c0187d1ddc214ec0c74b4e73f1
tree596bddaf1b9cc6cb6b8dfccb63b9b5a231c68589
parente749b81ece1f94f99ca26028a2f6f891aa14bda9
gcc: Add target gcc include search for musl config too

Musl has different search order and therefore injects it
via INCLUDE_DEFAULTS and does not use the defaults from
gcc/cppdefaults.h, this ensures that same fix is extended
to musl configs too where it can search for compiler headers
It will fix builds with musl where omp.h is not found because
it is in gcc includes path on target ( not cross ) sysroot

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch